kissste

Members
  • Content Count

    4
  • Joined

  • Last visited

About kissste

  • Rank
    Newbie

Recent Profile Visitors

233 profile views
  1. kissste

    H6 after apt upgrade

    My PineH64, as well as OrangePI one plus (H6) were working fine using 4.18.rc7-bionic till I have tried apt upgrade I'm getting the following error on both. Any ideas? Thank you vm Starting kernel ... [ 2.104055] Internal error: Oops: 96000004 [#1] SMP [ 2.108938] Modules linked in: [ 2.111997] CPU: 1 PID: 33 Comm: kworker/1:1 Not tainted 4.19.11-sunxi64 #5.67.181221 [ 2.119819] Hardware name: Pine H64 (DT) [ 2.123750] Workqueue: events deferred_probe_work_func [ 2.128887] pstate: 80000005 (Nzcv daif -PAN -UAO) [ 2.133679] pc : sun8i_dwmac_probe+0x16c/0x550 [ 2.138121] lr : sun8i_dwmac_probe+0x21c/0x550 [ 2.142560] sp : ffff00000924bb00 [ 2.145871] x29: ffff00000924bb00 x28: 0000000000000000 [ 2.151181] x27: ffff000008d7e9a0 x26: ffff000008bf1b20 [ 2.156491] x25: ffff800077fe1b88 x24: ffff000008c45000 [ 2.161800] x23: ffff800075167c10 x22: ffff800075167c00 [ 2.167110] x21: ffff800009b88018 x20: ffff8000099ede18 [ 2.172419] x19: ffff000008d68000 x18: 0000000000008000 [ 2.177728] x17: 0000000000000001 x16: 0000000000000019 [ 2.183037] x15: 00000000fffffff0 x14: ffff000008c83000 [ 2.188347] x13: 6572206f74207265 x12: 0000000000000030 [ 2.193656] x11: 0101010101010101 x10: 7f7f7f7f7f7f7f7f [ 2.198965] x9 : feff727264626260 x8 : ffff00000924b7c8 [ 2.204275] x7 : 0000000000000000 x6 : 0000000000000003 [ 2.209584] x5 : 0000000000000002 x4 : 0000000000000003 [ 2.214893] x3 : 0000000000000000 x2 : ffff00000924bb70 [ 2.220203] x1 : ffff800009b88400 x0 : ffff800075167c10 [ 2.225516] Process kworker/1:1 (pid: 33, stack limit = 0x(____ptrval____)) [ 2.232472] Call trace: [ 2.234921] sun8i_dwmac_probe+0x16c/0x550 [ 2.239019] platform_drv_probe+0x50/0xa0 [ 2.243029] really_probe+0x1c4/0x298 [ 2.246692] driver_probe_device+0x58/0x100 [ 2.250875] __device_attach_driver+0x98/0xf0 [ 2.255231] bus_for_each_drv+0x64/0xc8 [ 2.259067] __device_attach+0xd8/0x130 [ 2.262902] device_initial_probe+0x10/0x18 [ 2.267084] bus_probe_device+0x90/0x98 [ 2.270920] deferred_probe_work_func+0x74/0xb0 [ 2.275452] process_one_work+0x1e4/0x360 [ 2.279462] worker_thread+0x268/0x4b0 [ 2.283212] kthread+0x128/0x130 [ 2.286442] ret_from_fork+0x10/0x1c [ 2.290019] Code: f9401283 9101c3a2 aa1703e0 f9400463 (a9401464) [ 2.296109] ---[ end trace 5d7d5a8453aae6f4 ]--- [ 2.301096] sunxi-mmc 4020000.mmc: Got CD GPIO [ 2.327072] sunxi-mmc 4022000.mmc: initialized, max. request size: 2048 KB [ 2.330897] sunxi-mmc 4020000.mmc: initialized, max. request size: 16384 KB, uses new timings mode [ 2.391260] mmc0: host does not support reading read-only switch, assuming write-enable [ 2.402549] mmc0: Problem switching card into high-speed mode! [ 2.408501] mmc0: new SDHC card at address 0001 [ 2.413921] mmcblk0: mmc0:0001 SD 29.1 GiB [ 2.419970] mmcblk0: p1 [ 2.488162] mmc1: new high speed MMC card at address 0001 [ 2.494443] mmcblk1: mmc1:0001 NCard 14.5 GiB [ 2.499686] mmcblk1boot0: mmc1:0001 NCard partition 1 4.00 MiB [ 2.506308] mmcblk1boot1: mmc1:0001 NCard partition 2 4.00 MiB [ 2.513295] mmcblk1: p1
  2. PineH64 - Booting from SD Card works well. But, trying to boot from EMMC and getting this: U-Boot SPL 2018.03-rc1-armbian (Apr 24 2018 - 21:55:29 +0200) DRAM: 4096 MiB, 3072 MiB usable Trying to boot from MMC2 mmc_load_image_raw_sector: mmc block read error SPL: failed to boot from all boot devices ### ERROR ### Please RESET the board ### So, U-Boot loads something but then SPL is having trouble. Here is a boot from SD Card, which is fine: U-Boot SPL 2018.03-rc1-armbian (Apr 29 2018 - 22:12:29 +0200) DRAM: 4096 MiB, 3072 MiB usable Trying to boot from MMC1 INFO: PSCI: Powering off cluster 0 core 1 INFO: PSCI: Disabling power to cluster 0 core 1 INFO: PSCI: Powering off cluster 0 core 2 INFO: PSCI: Disabling power to cluster 0 core 2 INFO: PSCI: Powering off cluster 0 core 3 INFO: PSCI: Disabling power to cluster 0 core 3 NOTICE: BL31: v1.4(debug):c591d63 NOTICE: BL31: Built : 20:35:18, Apr 26 2018 INFO: ARM GICv2 driver initialized INFO: BL31: Platform setup done INFO: BL31: Initializing runtime services INFO: BL31: cortex_a53: errata workaround for 835769 was applied INFO: BL31: cortex_a53: errata workaround for 843419 was applied INFO: BL31: cortex_a53: errata workaround for 855873 was applied INFO: BL31: Preparing for EL3 exit to normal world INFO: Entry point address = 0x4a000000 INFO: SPSR = 0x3c9 U-Boot 2018.03-rc1-armbian (Apr 29 2018 - 22:12:29 +0200) Allwinner Technology CPU: Allwinner H6 (SUN50I) Model: Pine H64 DRAM: 3 GiB MMC: SUNXI SD/MMC: 0, SUNXI SD/MMC: 1 Loading Environment from FAT... Unable to use mmc 1:1... Failed (-5) In: serial@5000000 Out: serial@5000000 Err: serial@5000000 Net: No ethernet found. starting USB... No controllers found Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... Found U-Boot script /boot/boot.scr 3100 bytes read in 207 ms (13.7 KiB/s) ## Executing script at 4fc00000 U-boot loaded from SD Boot script loaded from mmc 165 bytes read in 166 ms (0 Bytes/s) 11031 bytes read in 359 ms (29.3 KiB/s) ** File not found /boot/dtb/allwinner/overlay/sun50i-h6-fixup.scr ** 9230674 bytes read in 1224 ms (7.2 MiB/s) 15811072 bytes read in 1876 ms (8 MiB/s) ## Loading init Ramdisk from Legacy Image at 4fe00000 ... Image Name: uInitrd Image Type: AArch64 Linux RAMDisk Image (gzip compressed) Data Size: 9230610 Bytes = 8.8 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 4fa00000 Booting using the fdt blob at 0x4fa00000 Loading Ramdisk to 49732000, end 49fff912 ... OK reserving fdt memory region: addr=4fa00000 size=69000 Loading Device Tree to 00000000496c6000, end 0000000049731fff ... OK Starting kernel ... Loading, please wait... starting version 237 Begin: Loading essential drivers ... done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems done. Begin: Will now check root file system ... fsck from util-linux 2.31.1 [/sbin/fsck.ext4 (1) -- /dev/mmcblk0p1] fsck.ext4 -a -C0 /dev/mmcblk0p1 /dev/mmcblk0p1: recovering journal /dev/mmcblk0p1: clean, 34409/1711248 files, 337575/7562636 blocks done. done. Begin: Running /scripts/local-bottom ... done. Begin: Running /scripts/init-bottom ... done. once running, EMMC is visible, partition table looks good to me. mmcblk1 is EMMC and mmcblk0 is SD Card steve@pineh64:~$ sudo fdisk /dev/mmcblk1 Command (m for help): p Disk /dev/mmcblk1: 14.5 GiB, 15518924800 bytes, 30310400 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0xea8d319c Device Boot Start End Sectors Size Id Type /dev/mmcblk1p1 8192 2138111 2129920 1G 83 Linux Command (m for help): q steve@pineh64:~$ sudo fdisk /dev/mmcblk0 Command (m for help): p Disk /dev/mmcblk0: 29.1 GiB, 31293702144 bytes, 61120512 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0xea8d319c Device Boot Start End Sectors Size Id Type /dev/mmcblk0p1 8192 60509279 60501088 28.9G 83 Linux
  3. kissste

    Trying to compile Pine H64

    This is what I get after excluding xradio driver from the build. CC drivers/of/configfs.o drivers/of/configfs.c: In function ‘create_overlay’: drivers/of/configfs.c:67:8: error: implicit declaration of function ‘of_overlay_create’; did you mean ‘of_overlay_remove’? [-Werror=implicit-function-declaration] err = of_overlay_create(overlay->overlay); ^~~~~~~~~~~~~~~~~ of_overlay_remove drivers/of/configfs.c: In function ‘cfs_overlay_release’: drivers/of/configfs.c:218:3: error: implicit declaration of function ‘of_overlay_destroy’; did you mean ‘of_overlay_remove’? [-Werror=implicit-function-declaration] of_overlay_destroy(overlay->ov_id); ^~~~~~~~~~~~~~~~~~ of_overlay_remove cc1: some warnings being treated as errors scripts/Makefile.build:312: recipe for target 'drivers/of/configfs.o' failed make[2]: *** [drivers/of/configfs.o] Error 1 scripts/Makefile.build:559: recipe for target 'drivers/of' failed make[1]: *** [drivers/of] Error 2 Makefile:1060: recipe for target 'drivers' failed make: *** [drivers] Error 2 [ error ] ERROR in function compile_kernel [ compilation.sh:337 ] [ error ] Kernel was not built [ @host ] [ o.k. ] Process terminated
  4. kissste

    Trying to compile Pine H64

    Try to get armbian compiled for PineH64. Unfortunately, hitting this roadblock. drivers/net/wireless/xradio/sdio.c:17:10: fatal error: asm/mach-types.h: No such file or directory #include <asm/mach-types.h> ^~~~~~~~~~~~~~~~~~ compilation terminated. scripts/Makefile.build:312: recipe for target 'drivers/net/wireless/xradio/sdio.o' failed make[4]: *** [drivers/net/wireless/xradio/sdio.o] Error 1 scripts/Makefile.build:559: recipe for target 'drivers/net/wireless/xradio' failed make[3]: *** [drivers/net/wireless/xradio] Error 2 scripts/Makefile.build:559: recipe for target 'drivers/net/wireless' failed make[2]: *** [drivers/net/wireless] Error 2 scripts/Makefile.build:559: recipe for target 'drivers/net' failed make[1]: *** [drivers/net] Error 2 Makefile:1060: recipe for target 'drivers' failed make: *** [drivers] Error 2 [ error ] ERROR in function compile_kernel [ compilation.sh:337 ] [ error ] Kernel was not built [ @host ] [ o.k. ] Process terminated Any suggestions? Is this even needed - xradio. I will try to exclude it from the build. Thank you