Jump to content

Armbian EMMC Image for NanoPi-K2


wikrie

Recommended Posts

10 minutes ago, martinayotte said:

I can be that "Guinea pig" ...

You need to write this u-boot image to eMMC with a simple command dd.

After recording, check the General launch of u-boot (control via the UART console). If it starts, write the last image of Armbian-TV 20200314 to USB (this will allow you to immediately check the possibility of starting systems from USB media), configure DTB and start the system from USB. After writing the new u-boot to eMMC, you will have an MBR table with two partitions that you can use to install any system in eMMC (for example, using a ready-made script install-aml-s905-emmc.sh from the Armbian-TV image). If you want, you can install your system in eMMC, but keep in mind that you will need a set of scripts from Armbian-TV to run it.

 

https://yadi.sk/d/FieAroFgp9b-qQ

Link to comment
Share on other sites

4 hours ago, balbes150 said:

You need to write this u-boot image to eMMC with a simple command dd.

Thanks !

At first, I've wished to keep /boot files and stuctures in the rootfs partition like normal Armbian, it works fine when booting from SDCard using those u-boot commands :



setenv consoleargs "console=ttyAML0,115200"
setenv bootargs "root=/dev/mmcblk1p1 rootwait rootfstype=ext4 ${consoleargs} consoleblank=0 coherent_pool=2M loglevel=7"
setenv loadkernel ext4load mmc 1 0x1080000 /boot/Image
setenv initrd_name /boot/uInitrd-5.4.6-meson64
setenv dtb_name /boot/dtb/amlogic/meson-gxbb-nanopi-k2.dtb
setenv bloader ext4load mmc 1
run loaddtb
run loadinitrd
run loadkernel
booti 0x1080000 0x39000000 0x1000000

But for eMMC it doesn't work, even doing "ext4ls mmc 0:2 /boot" shows an empty directory while doing "ext4ls mmc 1:0 /boot" for SDCard is working fine.

It seems that eMMC driver within this old u-boot requires that files need to be at root level, probably not able to browse sub-folders, so the above commands works if all paths are root / ...

If I'm using the FAT partition, the following commands are the ones needed :



setenv consoleargs "console=ttyAML0,115200"
setenv bootargs "root=/dev/mmcblk0p2 rootwait rootfstype=ext4 ${consoleargs} consoleblank=0 coherent_pool=2M loglevel=7"
setenv loadkernel fatload mmc 0 0x1080000 /vmlinuz-5.4.6-meson64
setenv initrd_name /uInitrd-5.4.6-meson64     
setenv dtb_name /meson-gxbb-nanopi-k2.dtb                 
setenv bloader fatload mmc 0    
run loaddtb
run loadinitrd
run loadkernel
booti 0x1080000 0x39000000 0x1000000

 

Link to comment
Share on other sites

15 hours ago, martinayotte said:

It seems that eMMC driver within this old u-boot requires that files need to be at root level, probably not able to browse sub-folders, so the above commands works if all paths are root / ...

Try creating links from /boot to the desired files in the mmc 0:2 root .

 

 

15 hours ago, martinayotte said:

booti 0x1080000 0x39000000 0x1000000

Hmmm

Why this address ? It is better to use addresses from a closer area.

It is proven and guaranteed to work on s905

https://github.com/150balbes/Build-Armbian/blob/master/config/bootscripts/boot-aml-s912_ENV.cmd#L9

Link to comment
Share on other sites

3 hours ago, balbes150 said:

How much RAM does u-boot show on your K2 ?

 

Can you show the UART log of the u-boot start from eMMC ?

Here it is :



INFO:    PSCI Affinity Map:
INFO:      AffInst: Level 0, MPID 0x0, State ON
INFO:      AffInst: Level 0, MPID 0x1, State ON
INFO:      AffInst: Level 0, MPID 0x2, State ON
INFO:      AffInst: Level 0, MPID 0x3, State ON
bl31 reboot reason: 0xd
bl31 reboot reason: 0x0
system cmd  1.
GXBB:BL1:08dafd:0a8993;FEAT:EDFC318C;POC:3;RCY:0;EMMC:0;READ:0;CHK:0;
no sdio debug board detected
TE: 41103


BL2 Built : 12:06:06, Jun 13 2016.
gxb g176ecdb - laiyin.mo@droid12-sz


set vcck to 1100 mv
set vddee to 1000 mv
Board ID = 8
CPU clk: 1536MHz
DDR chl: Rank0+1 same @ 792MHz
DDR0: 2048MB(auto)-2T-11
DataBus test pass!
AddrBus test pass!
-s
Load fip header from eMMC, src: 0x0000c000, des: 0x01400000, size: 0x00004000
New fip structure!
Load bl30 from eMMC, src: 0x00010000, des: 0x01000000, size: 0x0000d460
Sending bl30......................................................OK.
Run bl30...
Load bl31 from eMMC, src: 0x00020000, des: 0x1010[000, size: 0x00013140
Image: gxb_v1.1.3134-b387442 2016-06-16 14:48:44 yun.cai@droid06]
OPS=0x13
ed 29 ad 5 1b 99 fa c9 82 86 5d Load bl33 from eMMC, src: 0x00034000, des: 0x01000000, size: 0x0006af00
4b [0.133626 Inits done]
secure task start!
high task start!
low task start!
NOTICE:  BL3-1: v1.0(debug):c813a61
NOTICE:  BL3-1: Built : 14:47:05, Jun 16 2016
INFO:    BL3-1: Initializing runtime services
WARNING: No OPTEE provided by BL2 boot loader
ERROR:   Error initializing runtime service opteed_fast
INFO:    BL3-1: Preparing for EL3 exit to normal world
INFO:    BL3-1: Next image address = 0x1000000
INFO:    BL3-1: Next image spsr = 0x3c9



U-Boot 2015.01-00018-g6c5824b-dirty (Oct 12 2017 - 18:36:33)

DRAM:  2 GiB
Relocation Offset is: 76f3b000
register usb cfg[1][0] = 0000000077f96ac0
register usb cfg[0][1] = 0000000077f96ae0
register usb cfg[2][0] = 0000000077f96b00
vpu: error: vpu: check dts: FDT_ERR_BADMAGIC, load default parameters
vpu: clk_level = 7
vpu: set clk: 666667000Hz, readback: 666660000Hz(0x300)
MMC:   SDIO Port C: 0, SDIO Port B: 1
emmc/sd response timeout, cmd8, status=0x3ff2800
emmc/sd response timeout, cmd55, status=0x3ff2800
[mmc_startup] mmc refix success
[mmc_init] mmc init success
In:    serial
Out:   serial
Err:   serial
reboot_mode=cold_boot
hpd_state=0
cvbs performance type = 4, table = 0
Net:   Meson_Ethernet
37887 bytes read in 5 ms (7.2 MiB/s)
[OSD]load fb addr from dts
[OSD]not find /meson-fb node: FDT_ERR_NOTFOUND
[OSD]use default fb_addr parameters
[OSD]fb_addr for logo: 0x3d800000
[OSD]load fb addr from dts
[OSD]not find /meson-fb node: FDT_ERR_NOTFOUND
[OSD]use default fb_addr parameters
[OSD]fb_addr for logo: 0x3d800000
[CANVAS]addr=0x3d800000 width=5760, height=2160


** File not found logo.bmp **
There is no valid bmp file at the given address
Hit Enter or space or Ctrl+C key to stop autoboot -- :  0
Device: SDIO Port C
Manufacturer ID: 15
OEM: 100
Name: AJTD4
Tran Speed: 52000000
Rd Block Len: 512
MMC version 4.0
High Capacity: Yes
Capacity: 14.6 GiB
mmc clock: 40000000
Bus Width: 8-bit DDR
reading s905_autoscript
500 bytes read in 3 ms (162.1 KiB/s)
## Executing script at 01020000
37887 bytes read in 5 ms (7.2 MiB/s)
9788536 bytes read in 149 ms (62.7 MiB/s)
21473792 bytes read in 322 ms (63.6 MiB/s)
## Loading init Ramdisk from Legacy Image at 39000000 ...
   Image Name:   uInitrd
   Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
   Data Size:    9788472 Bytes = 9.3 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
load dtb from 0x1000000 ......
## Flattened Device Tree blob at 01000000
   Booting using the fdt blob at 0x1000000
   Loading Ramdisk to 3f6aa000, end 3ffffc38 ... OK
   Loading Device Tree to 000000001fff3000, end 000000001ffff3fe ... OK


Starting kernel ...


Link to comment
Share on other sites

44 minutes ago, balbes150 said:

Hmmm

Why this address ? It is better to use addresses from a closer area.

I kept the default ENV which was in your original image :

initrd_start=0x39000000

I will try to change that according to your boot-aml-s912_ENV.cmd later ...

Link to comment
Share on other sites

2 minutes ago, martinayotte said:

DDR0: 2048MB(auto)-2T-11

 

3 minutes ago, martinayotte said:

DRAM:  2 GiB

Hmmm

You have 2 GB, I have only1 GB of RAM on Telos . It's interesting why I don't correctly determine the RAM size.

 

Link to comment
Share on other sites

2 minutes ago, martinayotte said:

I will try to change that according to your boot-aml-s912_ENV.cmd later ...

If you have everything working correctly, this is not necessary. The main thing is that on K2 this version works almost correctly with eMMC and will allow you to easily install Armbian in eMMC and run it fully without any SD cards.

Link to comment
Share on other sites

3 minutes ago, martinayotte said:

What do you want me to check ?

If possible (if time) , check the General launch of the LE image on K2. It is advisable to perform two checks. 1. Write the image to the SD card ( you don't need to change anything in the settings) and check how u-boot works witchout modul eMMC (whether it can start the system or not). 2. If you have my u-boot  in eMMC, check the launch from a USB flash drive (write the image to the flash drive and see if it can start FROM the flash drive or not). Ideally (but not necessarily), show the UART logs of these checks.  :)

 

https://yadi.sk/d/hf5XdV2ffFPwWA

Link to comment
Share on other sites

12 hours ago, martinayotte said:

It doesn't boot with SDCard alone :  http://ix.io/2faw

It is interesting. Do I understand correctly, this is the log of launching the LE image from the Sd card ? You can stop running in the UART console and check which mmc devices are available "mmcinfo" and what will "fatls mmc 0" and "fatls mmc 1" show from these devices\partitions ?

Link to comment
Share on other sites

6 hours ago, balbes150 said:

Do I understand correctly, this is the log of launching the LE image from the Sd card ?

Right ! I'm struggling to figure out how to make it boot, looking at "printenv" don't shows me why it try to boot from "mmc 2" where it is supposed to be 1.

=> fatls mmc 1 
            dtb/
      175   uEnv.txt
      224   android_disable.sh
      223   android_enable.sh
     1732   ddbr-backup.sh
     1710   ddbr-restore.sh
     3433   install2emmc.sh
 26386440   KERNEL
 124035072   SYSTEM
       48   KERNEL.md5
       48   SYSTEM.md5

10 file(s), 1 dir(s)

=> ext4ls mmc 1:2
<DIR>       1024 .
<DIR>       1024 ..
<DIR>      12288 lost+found
               0 .please_resize_me
=> 

As you can see, the second partition is empty, and during startup, it seems to wish to load something from partition 2 after successfully loaded the DTB, although kernel is on partition 1:

Scanning mmc 1:1...
26660 bytes read in 6 ms (4.2 MiB/s)           // <--- DTB loaded successfully
MMC Device 2 not found
no mmc device at slot 2

 

Link to comment
Share on other sites

17 minutes ago, balbes150 said:

Can you show printenv (UART) ?

Here it is :

=> printenv
arch=arm
baudrate=115200
board=p200
board_name=p200
boot_a_script=load ${devtype} ${devnum}:${distro_bootpart} ${scriptaddr} ${prefix}${script}; source ${scriptaddr}
boot_efi_binary=if fdt addr ${fdt_addr_r}; then bootefi bootmgr ${fdt_addr_r};else bootefi bootmgr ${fdtcontroladdr};fi;load ${devtype} ${devnum}:${distro_bootpart} ${kernel_addr_r} efi/boot/bootaa64.efi; if fdt addr ${fdt_addr_r}; then bootefi ${kernel_addr_r} ${fdt_addr_r};else bootefi ${kernel_addr_r} ${fdtcontroladdr};fi
boot_extlinux=sysboot ${devtype} ${devnum}:${distro_bootpart} any ${scriptaddr} ${prefix}${boot_syslinux_conf}
boot_prefixes=/ /boot/
boot_script_dhcp=boot.scr.uimg
boot_scripts=boot.scr.uimg boot.scr
boot_source=sd
boot_syslinux_conf=extlinux/extlinux.conf
boot_targets=romusb mmc0 mmc1 mmc2 pxe dhcp 
bootcmd=run distro_bootcmd
bootcmd_dhcp=if dhcp ${scriptaddr} ${boot_script_dhcp}; then source ${scriptaddr}; fi;setenv efi_fdtfile ${fdtfile}; setenv efi_old_vci ${bootp_vci};setenv efi_old_arch ${bootp_arch};setenv bootp_vci PXEClient:Arch:00011:UNDI:003000;setenv bootp_arch 0xb;if dhcp ${kernel_addr_r}; then tftpboot ${fdt_addr_r} dtb/${efi_fdtfile};if fdt addr ${fdt_addr_r}; then bootefi ${kernel_addr_r} ${fdt_addr_r}; else bootefi ${kernel_addr_r} ${fdtcontroladdr};fi;fi;setenv bootp_vci ${efi_old_vci};setenv bootp_arch ${efi_old_arch};setenv efi_fdtfile;setenv efi_old_arch;setenv efi_old_vci;
bootcmd_mmc0=devnum=0; run mmc_boot
bootcmd_mmc1=devnum=1; run mmc_boot
bootcmd_mmc2=devnum=2; run mmc_boot
bootcmd_pxe=dhcp; if pxe get; then pxe boot; fi
bootcmd_romusb=if test "${boot_source}" = "usb" && test -n "${scriptaddr}"; then echo '(ROM USB boot)'; source ${scriptaddr}; fi
bootdelay=2
cpu=armv8
distro_bootcmd=for target in ${boot_targets}; do run bootcmd_${target}; done
efi_dtb_prefixes=/ /dtb/ /dtb/current/
fdt_addr_r=0x08008000
fdtcontroladdr=7df63e38
fdtfile=amlogic/meson-gxbb-nanopi-k2.dtb
kernel_addr_r=0x08080000
load_efi_dtb=load ${devtype} ${devnum}:${distro_bootpart} ${fdt_addr_r} ${prefix}${efi_fdtfile}
mmc_boot=if mmc dev ${devnum}; then devtype=mmc; run scan_dev_for_boot_part; fi
pxefile_addr_r=0x01080000
ramdisk_addr_r=0x13000000
scan_dev_for_boot=echo Scanning ${devtype} ${devnum}:${distro_bootpart}...; for prefix in ${boot_prefixes}; do run scan_dev_for_extlinux; run scan_dev_for_scripts; done;run scan_dev_for_efi;
scan_dev_for_boot_part=part list ${devtype} ${devnum} -bootable devplist; env exists devplist || setenv devplist 1; for distro_bootpart in ${devplist}; do if fstype ${devtype} ${devnum}:${distro_bootpart} bootfstype; then run scan_dev_for_boot; fi; done; setenv devplist
scan_dev_for_efi=setenv efi_fdtfile ${fdtfile}; for prefix in ${efi_dtb_prefixes}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${efi_fdtfile}; then run load_efi_dtb; fi;done;if test -e ${devtype} ${devnum}:${distro_bootpart} efi/boot/bootaa64.efi; then echo Found EFI removable media binary efi/boot/bootaa64.efi; run boot_efi_binary; echo EFI LOAD FAILED: continuing...; fi; setenv efi_fdtfile
scan_dev_for_extlinux=if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${boot_syslinux_conf}; then echo Found ${prefix}${boot_syslinux_conf}; run boot_extlinux; echo SCRIPT FAILED: continuing...; fi
scan_dev_for_scripts=for script in ${boot_scripts}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${script}; then echo Found U-Boot script ${prefix}${script}; run boot_a_script; echo SCRIPT FAILED: continuing...; fi; done
scriptaddr=0x08000000
soc=meson
stderr=serial@4c0
stdin=serial@4c0
stdout=serial@4c0
vendor=amlogic

Environment size: 3591/8188 bytes
=> 

 

17 minutes ago, balbes150 said:

Try taking (boot.scr) from any image for RK.

 

I don't have any RK image, only Armbian, so I will try this one .

Still, that image looks strange to me since ROOTFS is empty ...

 

EDIT: With the Armbian boot.scr, it try to executed it and fail (because Armbian is looking for Image), and continuing with same earlier fail :

switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
Found U-Boot script /boot.scr
3056 bytes read in 3 ms (994.1 KiB/s)
## Executing script at 08000000
26660 bytes read in 7 ms (3.6 MiB/s)
Bad Linux ARM64 Image magic!
SCRIPT FAILED: continuing...
26660 bytes read in 7 ms (3.6 MiB/s)
MMC Device 2 not found
no mmc device at slot 2

 

Link to comment
Share on other sites

I'm not sure if it's relevant, but 26386440 looks rather large for an LE kernel .. we normally compress things:

LibreELEC (chewitt): 9.80.0 (AMLGX.arm)
SDCARD:~ # ls -l /flash/
total 106856
-rwxr-xr-x    1 root     root      10739122 Jan  1  1980 KERNEL
-rwxr-xr-x    1 root     root      98639872 Jan  1  1980 SYSTEM
drwxr-xr-x    2 root     root          8192 Jan 24 12:35 extlinux
-rwxr-xr-x    1 root     root         26926 Mar 16 18:26 meson-gxbb-wetek-play2.dtb

Current LE master nightly is here (different boot scripts to Oleg's images): https://test.libreelec.tv/LibreELEC-AMLGX.arm-9.80-nightly-20200324-aeb6e84-nanopi-k2.img.gz

Link to comment
Share on other sites

34 minutes ago, martinayotte said:

I don't have any RK image, only Armbian, so I will try this one .

Still, that image looks strange to me since ROOTFS is empty ...

 

EDIT: With the Armbian boot.scr, it try to executed it and fail (because Armbian is looking for Image), and continuing with same earlier fail :

Everything is correct, LE uses a different startup scheme ( a set of core files, etc. ), so the Armbian version of the script will not be able to run LE fully . For me, the important result is that the reason why LE can 't run yet is the absence of the necessary file in the image (this is my error, I didn 't check the finished image for components). Tomorrow there will be a fixed version and it should be correct (automatically starts).  :)

 

 

P.S. in the same directory on the site there are images marked for rk3399, they have the necessary script (boot.scr).

 

Link to comment
Share on other sites

5 minutes ago, chewitt said:

I'm not sure if it's relevant, but 26386440 looks rather large for an LE kernel .. we normally compress things:

That 's right, I'm using a universal core that is the same for all versions of RK+AW+AML, so it is larger than the AML-only version . By the way, in the near future I plan to release a universal Le image for three platforms at once (which use LIMA+Panfrost). I've already checked, they work fine from USB media or from an SD card, when adding the correct u-boot (just like it now works with Armbian).

Link to comment
Share on other sites

40 minutes ago, balbes150 said:

P.S. in the same directory on the site there are images marked for rk3399, they have the necessary script (boot.scr).

Ok ! I've downloaded RK3399, copied its boot.scr and placed it on the SD, it got a bit further : there was a reboot in the middle of the process, then it booted in some kind of emergency mode without login prompt.



Scanning mmc 1:1...
Found U-Boot script /boot.scr
896 bytes read in 3 ms (291 KiB/s)
## Executing script at 08000000
start mainline u-boot
175 bytes read in 3 ms (56.6 KiB/s)
## Error: "mac" not defined
## Error: "eth_mac" not defined
## Error: "ethaddr" not defined
26386440 bytes read in 1139 ms (22.1 MiB/s)
26660 bytes read in 7 ms (3.6 MiB/s)
## Flattened Device Tree blob at 08008000
   Booting using the fdt blob at 0x8008000
   Loading Device Tree to 000000007df57000, end 000000007df60823 ... OK

Starting kernel ...

[    1.487649] meson8b-dwmac c9410000.ethernet: IRQ eth_wake_irq not found
[    1.488625] meson8b-dwmac c9410000.ethernet: IRQ eth_lpi not found
[   25.705721] reboot: Restarting system
INFO:    PSCI Affinity Map:
INFO:      AffInst: Level 0, MPID 0x0, State ON
INFO:      AffInst: Level 0, MPID 0x1, State ON
INFO:      AffInst: Level 0, MPID 0x2, State ON
INFO:      AffInst: Level 0, MPID 0x3, State ON
bl31 reboot reason: 0xd
bl31 reboot reason: 0x0
system cmd  1.
ERROR:   gxbb System R�GXBB:BL1:08dafd:0a8993;FEAT:EDFC318C;POC:3;RCY:0;EMMC:800;NAND:81;SD:0;READ:0;CHK:0;
no sdio debug board detected
TE: 120045

BL2 Built : 12:06:06, Jun 13 2016.
gxb g176ecdb - laiyin.mo@droid12-sz

set vcck to 1100 mv
set vddee to 1000 mv
Board ID = 8
CPU clk: 1536MHz
DDR chl: Rank0+1 same @ 792MHz
DDR0: 2048MB(auto)-2T-11
DataBus test pass!
AddrBus test pass!
Load fip header from SD, src: 0x0000c200, des: 0x01400000, size: 0x00004000
New fip structure!
Load bl30 from SD, src: 0x00010200, des: 0x01000000, size: 0x0000d460
Sending bl30......................................................OK.
Run bl30...
Load bl31 from SD, src: 0x00020200, des: 0x101000[00, size: 0x00013140
Image: gxb_v1.1.3134-b387442 2016-06-16 14:48:44 yun.cai@droid06]
OPS=0x13
ed 29 ad 5 1b 99 fa c9 82 86 5d 4b [0.215000 Inits done]
secure task start!
high task start!
low task start!
Load bl33 from SD, src: 0x00034200, des: 0x01000000, size: 0x0007d650
NOTICE:  BL3-1: v1.0(debug):c813a61
NOTICE:  BL3-1: Built : 14:47:05, Jun 16 2016
INFO:    BL3-1: Initializing runtime services
WARNING: No OPTEE provided by BL2 boot loader
ERROR:   Error initializing runtime service opteed_fast
INFO:    BL3-1: Preparing for EL3 exit to normal world
INFO:    BL3-1: Next image address = 0x1000000
INFO:    BL3-1: Next image spsr = 0x3c9


U-Boot 2020.01 (Mar 19 2020 - 12:11:35 +0300) nanopi-k2

Model: Unknown
SoC:   Amlogic Meson GXBB (S905) Revision 1f:c (13:1)
DRAM:  2 GiB
MMC:   mmc@70000: 0, mmc@72000: 1
In:    serial@4c0
Out:   serial@4c0
Err:   serial@4c0
Net:   
Warning: ethernet@c9410000 (eth0) using random MAC address - f6:b1:73:f1:42:9b
eth0: ethernet@c9410000
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
Found U-Boot script /boot.scr
896 bytes read in 3 ms (291 KiB/s)
## Executing script at 08000000
start mainline u-boot
175 bytes read in 3 ms (56.6 KiB/s)
## Error: "mac" not defined
## Error: "eth_mac" not defined
## Error: "ethaddr" not defined
26386440 bytes read in 1131 ms (22.2 MiB/s)
26660 bytes read in 8 ms (3.2 MiB/s)
## Flattened Device Tree blob at 08008000
   Booting using the fdt blob at 0x8008000
   Loading Device Tree to 000000007df57000, end 000000007df60823 ... OK

Starting kernel ...

[    1.483695] meson8b-dwmac c9410000.ethernet: IRQ eth_wake_irq not found
[    1.484671] meson8b-dwmac c9410000.ethernet: IRQ eth_lpi not found
LibreELEC:/ # ll
/bin/sh: ll: not found
LibreELEC:/ # ls
bin      etc      lib      proc     sbin     sys      usr
dev      flash    media    run      storage  tmp      var
LibreELEC:/ #

 

And here is the "dmesg" :

 



[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.6.0-rc4 (user@user-VirtualBox) (gcc version 9.2.1 20191025 (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10))) #1 SMP PREEMPT Wed Mar 18 15:55:55 MSK 2020
[    0.000000] Machine model: FriendlyARM NanoPi K2
[    0.000000] Reserved memory: created CMA memory pool at 0x0000000045c00000, size 896 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000001000000-0x000000007fffffff]
[    0.000000] NUMA: NODE_DATA [mem 0x7fbf1100-0x7fbf2fff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000001000000-0x000000003fffffff]
[    0.000000]   DMA32    [mem 0x0000000040000000-0x000000007fffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000001000000-0x0000000004ffffff]
[    0.000000]   node   0: [mem 0x0000000007300000-0x000000000fffffff]
[    0.000000]   node   0: [mem 0x0000000010200000-0x000000007fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000001000000-0x000000007fffffff]
[    0.000000] On node 0 totalpages: 510720
[    0.000000]   DMA zone: 4032 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 248576 pages, LIFO batch:63
[    0.000000]   DMA32 zone: 4096 pages used for memmap
[    0.000000]   DMA32 zone: 262144 pages, LIFO batch:63
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv0.2 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: Trusted OS migration not required
[    0.000000] percpu: Embedded 22 pages/cpu s50008 r8192 d31912 u90112
[    0.000000] pcpu-alloc: s50008 r8192 d31912 u90112 alloc=22*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] CPU features: detected: ARM erratum 843419
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 502592
[    0.000000] Policy zone: DMA32
[    0.000000] Kernel command line: boot=LABEL=LIBREELEC disk=LABEL=STORAGE quiet console=ttyAML0,115200n8 console=tty0 systemd.debug_shell=ttyAML0
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: mapped [mem 0x3bfff000-0x3ffff000] (64MB)
[    0.000000] Memory: 992620K/2042880K available (13950K kernel code, 1192K rwdata, 5592K rodata, 4992K init, 667K bss, 132756K reserved, 917504K cma-reserved)
[    0.000000] random: get_random_u64 called from cache_random_seq_create+0x78/0x148 with crng_init=0
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.000000]     Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] irq_meson_gpio: 133 to 8 gpio interrupt mux initialized
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000003] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000283] Console: colour dummy device 80x25
[    0.000293] printk: console [tty0] enabled
[    0.000355] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.000360] pid_max: default: 32768 minimum: 301
[    0.000439] LSM: Security Framework initializing
[    0.000497] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.000512] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.000559] *** VALIDATE tmpfs ***
[    0.000886] *** VALIDATE proc ***
[    0.001068] *** VALIDATE cgroup ***
[    0.001073] *** VALIDATE cgroup2 ***
[    0.024023] ASID allocator initialised with 65536 entries
[    0.032011] rcu: Hierarchical SRCU implementation.
[    0.048030] smp: Bringing up secondary CPUs ...
[    0.080193] Detected VIPT I-cache on CPU1
[    0.080235] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.112199] Detected VIPT I-cache on CPU2
[    0.112224] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.144226] Detected VIPT I-cache on CPU3
[    0.144244] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.144286] smp: Brought up 1 node, 4 CPUs
[    0.144289] SMP: Total of 4 processors activated.
[    0.144293] CPU features: detected: 32-bit EL0 Support
[    0.144296] CPU features: detected: CRC32 instructions
[    0.151423] CPU: All CPU(s) started at EL2
[    0.151449] alternatives: patching kernel code
[    0.152515] devtmpfs: initialized
[    0.156097] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.156110] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.175305] xor: measuring software checksum speed
[    0.212330]    8regs     :  3040.000 MB/sec
[    0.252351]    32regs    :  3488.000 MB/sec
[    0.292379]    arm64_neon:  2981.000 MB/sec
[    0.292382] xor: using function: 32regs (3488.000 MB/sec)
[    0.292457] pinctrl core: initialized pinctrl subsystem
[    0.293201] thermal_sys: Registered thermal governor 'step_wise'
[    0.293765] NET: Registered protocol family 16
[    0.294707] DMA: preallocated 256 KiB pool for atomic allocations
[    0.294721] audit: initializing netlink subsys (disabled)
[    0.294826] audit: type=2000 audit(0.292:1): state=initialized audit_enabled=0 res=1
[    0.296020] cpuidle: using governor menu
[    0.296208] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.296838] Serial: AMBA PL011 UART driver
[    0.309340] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.309347] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.309350] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.309353] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.312730] cryptd: max_cpu_qlen set to 1000
[    0.380524] raid6: neonx8   gen()  2756 MB/s
[    0.448560] raid6: neonx8   xor()  2060 MB/s
[    0.516637] raid6: neonx4   gen()  2823 MB/s
[    0.584659] raid6: neonx4   xor()  2038 MB/s
[    0.652712] raid6: neonx2   gen()  2682 MB/s
[    0.720753] raid6: neonx2   xor()  1881 MB/s
[    0.788817] raid6: neonx1   gen()  2341 MB/s
[    0.856868] raid6: neonx1   xor()  1599 MB/s
[    0.924908] raid6: int64x8  gen()  1908 MB/s
[    0.992937] raid6: int64x8  xor()  1004 MB/s
[    1.060989] raid6: int64x4  gen()  2135 MB/s
[    1.129020] raid6: int64x4  xor()  1073 MB/s
[    1.197063] raid6: int64x2  gen()  1810 MB/s
[    1.265103] raid6: int64x2  xor()   933 MB/s
[    1.333154] raid6: int64x1  gen()  1349 MB/s
[    1.401191] raid6: int64x1  xor()   716 MB/s
[    1.401193] raid6: using algorithm neonx4 gen() 2823 MB/s
[    1.401195] raid6: .... xor() 2038 MB/s, rmw enabled
[    1.401198] raid6: using neon recovery algorithm
[    1.402703] iommu: Default domain type: Translated
[    1.402868] vgaarb: loaded
[    1.403179] SCSI subsystem initialized
[    1.403315] libata version 3.00 loaded.
[    1.403604] usbcore: registered new interface driver usbfs
[    1.403637] usbcore: registered new interface driver hub
[    1.403689] usbcore: registered new device driver usb
[    1.404123] pps_core: LinuxPPS API ver. 1 registered
[    1.404127] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.404139] PTP clock support registered
[    1.404551] FPGA manager framework
[    1.404696] Advanced Linux Sound Architecture Driver Initialized.
[    1.405338] clocksource: Switched to clocksource arch_sys_counter
[    1.405346] *** VALIDATE bpf ***
[    1.405535] VFS: Disk quotas dquot_6.6.0
[    1.405580] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    1.405609] *** VALIDATE ramfs ***
[    1.405620] *** VALIDATE hugetlbfs ***
[    1.410293] NET: Registered protocol family 2
[    1.410634] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    1.410657] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    1.410740] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear)
[    1.410906] TCP: Hash tables configured (established 16384 bind 16384)
[    1.411002] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    1.411034] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    1.411174] NET: Registered protocol family 1
[    1.411482] RPC: Registered named UNIX socket transport module.
[    1.411485] RPC: Registered udp transport module.
[    1.411486] RPC: Registered tcp transport module.
[    1.411488] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.411496] PCI: CLS 0 bytes, default 64
[    1.420501] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    1.422825] Initialise system trusted keyrings
[    1.422933] workingset: timestamp_bits=44 max_order=19 bucket_order=0
[    1.428489] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.429113] *** VALIDATE nfs ***
[    1.429156] *** VALIDATE nfs4 ***
[    1.429209] NFS: Registering the id_resolver key type
[    1.429226] Key type id_resolver registered
[    1.429228] Key type id_legacy registered
[    1.429236] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.429764] Key type cifs.spnego registered
[    1.429775] Key type cifs.idmap registered
[    1.430083] JFS: nTxBlock = 8192, nTxLock = 65536
[    1.435293] SGI XFS with ACLs, security attributes, realtime, quota, no debug enabled
[    1.436431] *** VALIDATE xfs ***
[    1.436645] ocfs2: Registered cluster interface o2cb
[    1.436781] OCFS2 User DLM kernel interface loaded
[    1.438009] *** VALIDATE gfs2 ***
[    1.438179] gfs2: GFS2 installed
[    1.449131] NET: Registered protocol family 38
[    1.449143] Key type asymmetric registered
[    1.449146] Asymmetric key parser 'x509' registered
[    1.449148] Asymmetric key parser 'pkcs8' registered
[    1.449187] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    1.449201] io scheduler mq-deadline registered
[    1.449204] io scheduler kyber registered
[    1.459906] soc soc0: Amlogic Meson GXBB (S905) Revision 1f:c (13:1) Detected
[    1.463146] Serial: 8250/16550 driver, 5 ports, IRQ sharing enabled
[    1.464686] Serial: AMBA driver
[    1.464953] c81004c0.serial: ttyAML0 at MMIO 0xc81004c0 (irq = 12, base_baud = 1500000) is a meson_uart
[    1.464999] printk: console [ttyAML0] enabled
[    1.473516] brd: module loaded
[    1.479087] loop: module loaded
[    1.481792] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    1.481798] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    1.482387] libphy: Fixed MDIO Bus: probed
[    1.482774] tun: Universal TUN/TAP device driver, 1.6
[    1.483695] meson8b-dwmac c9410000.ethernet: IRQ eth_wake_irq not found
[    1.484671] meson8b-dwmac c9410000.ethernet: IRQ eth_lpi not found
[    1.490893] meson8b-dwmac c9410000.ethernet: PTP uses main clock
[    1.490900] meson8b-dwmac c9410000.ethernet: no reset control found
[    1.491279] meson8b-dwmac c9410000.ethernet: User ID: 0x11, Synopsys ID: 0x37
[    1.491286] meson8b-dwmac c9410000.ethernet:     DWMAC1000
[    1.491290] meson8b-dwmac c9410000.ethernet: DMA HW capability register supported
[    1.491294] meson8b-dwmac c9410000.ethernet: RX Checksum Offload Engine supported
[    1.491297] meson8b-dwmac c9410000.ethernet: COE Type 2
[    1.491300] meson8b-dwmac c9410000.ethernet: TX Checksum insertion supported
[    1.491304] meson8b-dwmac c9410000.ethernet: Wake-Up On Lan supported
[    1.491328] meson8b-dwmac c9410000.ethernet: Normal descriptors
[    1.491332] meson8b-dwmac c9410000.ethernet: Ring mode enabled
[    1.491335] meson8b-dwmac c9410000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    1.491340] meson8b-dwmac c9410000.ethernet: device MAC address f6:b1:73:f1:42:9b
[    1.491654] libphy: stmmac: probed
[    1.537579] VFIO - User Level meta-driver version: 0.3
[    1.538436] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.538441] ehci-pci: EHCI PCI platform driver
[    1.538484] ehci-platform: EHCI generic platform driver
[    1.538578] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.538597] ohci-pci: OHCI PCI platform driver
[    1.538626] ohci-platform: OHCI generic platform driver
[    1.538948] usbcore: registered new interface driver usb-storage
[    1.539100] mousedev: PS/2 mouse device common for all mice
[    1.539987] i2c /dev entries driver
[    1.542491] sdhci: Secure Digital Host Controller Interface driver
[    1.542496] sdhci: Copyright(c) Pierre Ossman
[    1.542520] Synopsys Designware Multimedia Card Interface Driver
[    1.543900] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.544440] ledtrig-cpu: registered to indicate activity on CPUs
[    1.544702] meson-sm: secure-monitor enabled
[    1.545052] hid: raw HID events driver (C) Jiri Kosina
[    1.545232] usbcore: registered new interface driver usbhid
[    1.545235] usbhid: USB HID core driver
[    1.545534] platform-mhu c883c404.mailbox: Platform MHU Mailbox registered
[    1.550277] NET: Registered protocol family 10
[    1.550815] Segment Routing with IPv6
[    1.550854] NET: Registered protocol family 17
[    1.551037] 9pnet: Installing 9P2000 support
[    1.551087] Key type dns_resolver registered
[    1.551378] registered taskstats version 1
[    1.551383] Loading compiled-in X.509 certificates
[    1.552168] Btrfs loaded, crc32c=crc32c-generic
[    1.564989] meson-drm d0100000.vpu: Queued 2 outputs on vpu
[    1.565187] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.565189] [drm] No driver support for vblank timestamp query.
[    1.565257] meson-drm d0100000.vpu: CVBS Output connector not available
[    1.593384] meson-dw-hdmi c883a000.hdmi-tx: Detected HDMI TX controller v2.01a with HDCP (meson_dw_hdmi_phy)
[    1.593762] meson-dw-hdmi c883a000.hdmi-tx: registered DesignWare HDMI I2C bus driver
[    1.594387] meson-drm d0100000.vpu: bound c883a000.hdmi-tx (ops meson_dw_hdmi_ops)
[    1.594713] [drm] Initialized meson 1.0.0 20161109 for d0100000.vpu on minor 0
[    1.594755] meson-drm d0100000.vpu: [drm] Cannot find any crtc or sizes
[    1.595309] dwc2 c9000000.usb: c9000000.usb supply vusb_d not found, using dummy regulator
[    1.595371] dwc2 c9000000.usb: c9000000.usb supply vusb_a not found, using dummy regulator
[    1.596699] meson-drm d0100000.vpu: [drm] Cannot find any crtc or sizes
[    1.606767] dwc2 c9000000.usb: DWC OTG Controller
[    1.606785] dwc2 c9000000.usb: new USB bus registered, assigned bus number 1
[    1.606812] dwc2 c9000000.usb: irq 34, io mem 0xc9000000
[    1.606931] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.06
[    1.606936] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.606940] usb usb1: Product: DWC OTG Controller
[    1.606943] usb usb1: Manufacturer: Linux 5.6.0-rc4 dwc2_hsotg
[    1.606946] usb usb1: SerialNumber: c9000000.usb
[    1.607302] hub 1-0:1.0: USB hub found
[    1.607320] hub 1-0:1.0: 1 port detected
[    1.608083] dwc2 c9100000.usb: c9100000.usb supply vusb_d not found, using dummy regulator
[    1.608123] dwc2 c9100000.usb: c9100000.usb supply vusb_a not found, using dummy regulator
[    1.665433] dwc2 c9100000.usb: DWC OTG Controller
[    1.665450] dwc2 c9100000.usb: new USB bus registered, assigned bus number 2
[    1.665472] dwc2 c9100000.usb: irq 35, io mem 0xc9100000
[    1.665584] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.06
[    1.665589] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.665593] usb usb2: Product: DWC OTG Controller
[    1.665596] usb usb2: Manufacturer: Linux 5.6.0-rc4 dwc2_hsotg
[    1.665600] usb usb2: SerialNumber: c9100000.usb
[    1.665918] hub 2-0:1.0: USB hub found
[    1.665935] hub 2-0:1.0: 1 port detected
[    1.667552] meson-gx-mmc d0070000.mmc: allocated mmc-pwrseq
[    1.694725] meson-gx-mmc d0072000.mmc: Got CD GPIO
[    1.722242] scpi_protocol scpi: SCP Protocol legacy pre-1.0 firmware
[    1.726983] printk: console [netcon0] enabled
[    1.726985] netconsole: network logging started
[    1.727330] hctosys: unable to open rtc device (rtc0)
[    1.727697] ALSA device list:
[    1.727702]   No soundcards found.
[    1.727953] mmc0: queuing unknown CIS tuple 0x80 (2 bytes)
[    1.730077] mmc0: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.731482] Freeing unused kernel memory: 4992K
[    1.732179] mmc0: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.736051] mmc0: queuing unknown CIS tuple 0x80 (7 bytes)
[    1.740777] mmc0: queuing unknown CIS tuple 0x81 (9 bytes)
[    1.749587] Run /init as init process
[    1.749590]   with arguments:
[    1.749593]     /init
[    1.749595]   with environment:
[    1.749597]     HOME=/
[    1.749599]     TERM=linux
[    1.749601]     boot=LABEL=LIBREELEC
[    1.749603]     disk=LABEL=STORAGE
[    1.780711] mmc1: new high speed SDHC card at address aaaa
[    1.785737] mmcblk1: mmc1:aaaa SU08G 7.40 GiB
[    1.788302]  mmcblk1: p1 p2
[    1.804502] Checking disk(s):  LABEL=LIBREELEC LABEL=STORAGE
[    1.805584] random: fast init done
[    1.862601] mmc0: new high speed SDIO card at address 0001
[    2.061490] usb 2-1: new high-speed USB device number 2 using dwc2
[    2.082852] usb 2-1: New USB device found, idVendor=05e3, idProduct=0610, bcdDevice=32.98
[    2.082861] usb 2-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    2.082865] usb 2-1: Product: USB2.0 Hub
[    2.083453] hub 2-1:1.0: USB hub found
[    2.083736] hub 2-1:1.0: 4 ports detected
[    2.151997] fsck: CP437: Invalid argument
[    2.152150] fsck: fsck.fat 4.1 (2017-01-24)
[    2.152349] fsck: /dev/mmcblk1p1: 46 files, 18502/65501 clusters
[    2.152574] fsck: STORAGE: clean, 11/1806336 files, 235522/7221248 blocks
[    2.357295] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
[    3.040831] systemd[1]: System time before build time, advancing clock.
[    3.050322] systemd[1]: systemd 245 running in system mode. (-PAM -AUDIT -SELINUX -IMA -APPARMOR -SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS -ACL -XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD +IDN2 -IDN -PCRE2 default-hierarchy=hybrid)
[    3.050660] systemd[1]: Detected architecture arm64.
[    3.050726] systemd[1]: Running with unpopulated /etc.
[    3.073578] systemd[1]: Set hostname to <LibreELEC>.
[    3.073698] systemd[1]: Cannot open /etc/machine-id: No such file or directory
[    3.360772] systemd[1]: Populated /etc with preset unit settings.
[    3.518506] random: systemd: uninitialized urandom read (16 bytes read)
[    3.520705] systemd[1]: Created slice system-modprobe.slice.
[    3.520886] random: systemd: uninitialized urandom read (16 bytes read)
[    3.521589] systemd[1]: Created slice User and Session Slice.
[    3.521689] random: systemd: uninitialized urandom read (16 bytes read)
[    3.521833] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[    3.521987] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    3.522177] systemd[1]: Reached target Paths.
[    3.522262] systemd[1]: Reached target Slices.
[    3.532903] systemd[1]: Listening on RPCbind Server Activation Socket.
[    3.533065] systemd[1]: Reached target RPC Port Mapper.
[    3.533373] systemd[1]: Listening on initctl Compatibility Named Pipe.
[    3.534163] systemd[1]: Listening on Journal Audit Socket.
[    3.534521] systemd[1]: Listening on Journal Socket (/dev/log).
[    3.534876] systemd[1]: Listening on Journal Socket.
[    3.535223] systemd[1]: Listening on udev Control Socket.
[    3.535446] systemd[1]: Listening on udev Kernel Socket.
[    3.538917] systemd[1]: Mounting Huge Pages File System...
[    3.542522] systemd[1]: Mounting POSIX Message Queue File System...
[    3.546457] systemd[1]: Mounting Kernel Debug File System...
[    3.546900] systemd[1]: Condition check resulted in Kernel Trace File System being skipped.
[    3.550756] systemd[1]: Mounting Variable Directory...
[    3.554023] systemd[1]: Started Early root shell on /dev/ttyAML0 FOR DEBUGGING ONLY.
[    3.557276] systemd[1]: Starting Create kernel modules tree from overlays...
[    3.557665] systemd[1]: Condition check resulted in Load Kernel Module drm being skipped.
[    3.561262] systemd[1]: Starting Show Version...
[    3.564751] systemd[1]: Starting Create Persistent Log Directory on /storage...
[    3.565589] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
[    3.568619] systemd[1]: Starting Setup NTP servers for timesyncd...
[    3.595143] systemd[1]: Mounted Huge Pages File System.
[    3.595634] systemd[1]: Mounted POSIX Message Queue File System.
[    3.596072] systemd[1]: Mounted Kernel Debug File System.
[    3.596660] systemd[1]: Mounted Variable Directory.
[    3.598407] systemd[1]: Finished Create Persistent Log Directory on /storage.
[    3.599025] systemd[1]: Condition check resulted in Persistent Log Storage being skipped.
[    3.670079] kernel-overlays-setup: setup base modules
[    3.674940] systemd[1]: Finished Show Version.
[    3.718350] systemd[1]: Finished Setup NTP servers for timesyncd.
[    3.859778] kernel-overlays-setup: added modules from /usr/lib/kernel-overlays/base/lib/modules/5.6.0-rc4
[    3.897283] kernel-overlays-setup: added firmware from /usr/lib/kernel-overlays/base/lib/firmware
[    3.897482] kernel-overlays-setup: adding overlays from /storage/.cache/kernel-overlays
[    3.897700] kernel-overlays-setup: done
[    3.898889] systemd[1]: kernel-overlays.service: Succeeded.
[    3.900029] systemd[1]: Finished Create kernel modules tree from overlays.
[    3.903563] systemd[1]: Starting Create list of static device nodes for the current kernel...
[    3.906387] systemd[1]: Starting Setup machine-id...
[    3.909537] systemd[1]: Starting Mounting swapfile...
[    3.914732] systemd[1]: Starting Load Kernel Modules...
[    3.918375] systemd[1]: Starting udev Coldplug all Devices...
[    3.968516] systemd[1]: Finished Mounting swapfile.
[    3.969144] systemd[1]: Reached target Swap.
[    3.973034] systemd[1]: Mounting Temporary Directory (/tmp)...
[    3.979732] systemd[1]: Mounted Temporary Directory (/tmp).
[    3.980138] systemd[1]: Reached target Local File Systems.
[    4.005516] systemd[1]: Finished Create list of static device nodes for the current kernel.
[    4.122233] systemd[1]: Finished Load Kernel Modules.
[    4.123059] systemd[1]: Condition check resulted in FUSE Control File System being skipped.
[    4.126055] systemd[1]: Mounting Kernel Configuration File System...
[    4.129166] systemd[1]: Starting Apply Kernel Variables...
[    4.134360] systemd[1]: Mounted Kernel Configuration File System.
[    4.143023] systemd[1]: Finished Setup machine-id.
[    4.147951] systemd[1]: Starting Journal Service...
[    4.151133] systemd[1]: Starting Create Static Device Nodes in /dev...
[    4.155754] systemd[1]: Finished Apply Kernel Variables.
[    4.209155] systemd[1]: Started Journal Service.
[    4.234945] systemd-journald[2019]: Received client request to flush runtime journal.
[    5.684986] random: crng init done
[    5.684995] random: 7 urandom warning(s) missed due to ratelimiting
[    6.946222] audit: type=1334 audit(1583498335.904:2): prog-id=5 op=LOAD
[    6.946302] audit: type=1334 audit(1583498335.904:3): prog-id=6 op=LOAD
[    7.055121] audit: type=1334 audit(1583498336.012:4): prog-id=7 op=LOAD
[    7.055717] audit: type=1334 audit(1583498336.012:5): prog-id=8 op=LOAD
[    7.380359] mc: Linux media interface: v0.10
[   11.058190] Registered IR keymap rc-empty
[   11.058646] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   11.059167] rc rc0: meson-ir as /devices/platform/soc/c8100000.bus/c8100580.ir/rc/rc0
[   11.059819] rc rc0: lirc_dev: driver meson-ir registered at minor = 0, raw IR receiver, no transmitter
[   11.060072] input: meson-ir as /devices/platform/soc/c8100000.bus/c8100580.ir/rc/rc0/input0
[   11.066779] meson-ir c8100580.ir: receiver initialized
[   11.072370] lima d00c0000.gpu: IRQ ppmmu3 not found
[   11.072380] lima d00c0000.gpu: IRQ ppmmu4 not found
[   11.072385] lima d00c0000.gpu: IRQ ppmmu5 not found
[   11.072389] lima d00c0000.gpu: IRQ ppmmu6 not found
[   11.072393] lima d00c0000.gpu: IRQ ppmmu7 not found
[   11.072406] lima d00c0000.gpu: gp - mali450 version major 0 minor 0
[   11.072438] lima d00c0000.gpu: pp0 - mali450 version major 0 minor 0
[   11.072466] lima d00c0000.gpu: pp1 - mali450 version major 0 minor 0
[   11.072501] lima d00c0000.gpu: pp2 - mali450 version major 0 minor 0
[   11.072522] lima d00c0000.gpu: IRQ pp3 not found
[   11.072526] lima d00c0000.gpu: IRQ pp4 not found
[   11.072531] lima d00c0000.gpu: IRQ pp5 not found
[   11.072535] lima d00c0000.gpu: IRQ pp6 not found
[   11.072539] lima d00c0000.gpu: IRQ pp7 not found
[   11.072544] lima d00c0000.gpu: l2 cache 8K, 4-way, 64byte cache line, 128bit external bus
[   11.072549] lima d00c0000.gpu: l2 cache 64K, 4-way, 64byte cache line, 128bit external bus
[   11.078711] lima d00c0000.gpu: bus rate = 166666667
[   11.078722] lima d00c0000.gpu: mod rate = 744000000
[   11.079742] [drm] Initialized lima 1.1.0 20191231 for d00c0000.gpu on minor 1
[   11.089712] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   11.104862] videodev: Linux video capture interface: v2.00
[   11.190468] meson8b-dwmac c9410000.ethernet eth0: PHY [stmmac-0:00] driver [RTL8211F Gigabit Ethernet] (irq=36)
[   11.201391] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
[   11.201404] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
[   11.201414] meson8b-dwmac c9410000.ethernet eth0: configuring for phy/rgmii link mode
[   11.350669] brcmfmac: F1 signature read @0x18000000=0x1530a9a6
[   11.352888] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430a0-sdio for chip BCM43430/0
[   11.353115] usbcore: registered new interface driver brcmfmac
[   11.353279] brcmfmac mmc0:0001:1: Direct firmware load for brcm/brcmfmac43430a0-sdio.bin failed with error -2
[   11.528582] IR NEC protocol handler initialized
[   11.554921] audit: type=1334 audit(1583498340.504:6): prog-id=9 op=LOAD
[   11.554936] audit: type=1334 audit(1583498340.504:7): prog-id=10 op=LOAD
[   11.573315] meson_vdec: module is from the staging directory, the quality is unknown, you have been warned.
[   11.586052] IR RC6 protocol handler initialized
[   11.721979] input: eventlircd as /devices/virtual/input/input1
[   12.359039] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50
[   33.757438] VCC1.8V: disabling
[   33.757452] VCC3.3V: disabling
[   41.801510] audit: type=1334 audit(1583498370.760:8): prog-id=10 op=UNLOAD
[   41.801523] audit: type=1334 audit(1583498370.760:9): prog-id=9 op=UNLOAD
LibreELEC:/ # df
Filesystem           1K-blocks      Used Available Use% Mounted on
devtmpfs                496308         4    496304   0% /dev
/dev/mmcblk1p1          524008    148016    375992  28% /flash
/dev/loop0              121856    121856         0 100% /
/dev/mmcblk1p2         6988740      4075   6980569   0% /storage
tmpfs                   957556         0    957556   0% /dev/shm
tmpfs                   957556      7660    949896   1% /run
tmpfs                   957556         0    957556   0% /sys/fs/cgroup
tmpfs                   957556      2596    954960   0% /var
tmpfs                   957556         0    957556   0% /tmp

Link to comment
Share on other sites

17 minutes ago, martinayotte said:

Ok ! I've downloaded RK3399, copied its boot.scr and placed it on the SD, it got a bit further : there was a reboot in the middle of the process, then it booted in some kind of emergency mode without login prompt.

I can make mistakes, but this behavior usually happens when there is a problem with the media. It is advisable to perform a clean check, write the LE image for K2, and immediately (before use) add the script (boot.scr) to the SD card. And then try launching it. The system should automatically expand the second partition at the first start and restart automatically, after which the KODI interface with the primary configuration wizard should start.

 

 

PS is the monitor connected to HDMI ? It is necessary for the correct launch.

Link to comment
Share on other sites

2 hours ago, balbes150 said:

The system should automatically expand the second partition at the first start and restart automatically, after which the KODI interface with the primary configuration wizard should start.

 

PS is the monitor connected to HDMI ? It is necessary for the correct launch.

Ah ! Ok ! I didn't have HDMI connected, so it wasn't emergency mode, but plain console on Serial without login prompt ...

 

EDIT: Right ! The KODI interface is there and working, at least the few setups I've done ...

Link to comment
Share on other sites

20 hours ago, martinayotte said:

Ah ! Ok ! I didn't have HDMI connected, so it wasn't emergency mode, but plain console on Serial without login prompt ...

 

EDIT: Right ! The KODI interface is there and working, at least the few setups I've done ...

I fixed the images (added a startup script). It is interesting to check how it will work on K2. Images are located at this link in the folder with the last date.  :)

 

https://yadi.sk/d/8vNYuuxynz1L0w

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines