Wow, hope with this change your packages will run on my rk3328 H96max plus! Thanks balbes150
Unofficial LE for RK356x RK3328\RK3399 RK3588(s)
-
balbes150 -
November 25, 2019 at 12:41 PM -
Thread is Resolved
-
-
- Official Post
Good news for RockPi 4B owners. You can easily run any LE versions from USB.
Details here.
Armbian on SD\eMMC + any system with USB media - Using ROCK Pi 4 - Radxa Forum
-
- Official Post
New ver 20200118 kernel 5.5 and 5.4
-
Hi!
I'm test LibreELEC-RK.arm-9.80-devel-20200127120222-6e9040d-rk3399.img on rock pi. Not boot. On screen message after kernel boot "Could not mount flash/SYSTEM".
I'm make extlinux.conf and boot with radxa uboot. On screen message: Not found boot=LABEL.... . Replace to boot=/dev/mmcblk0p9 ... not found ...ha ... it place on /dev/mmcblk1p9 , emmc on mmcblk2 , nvme not found. This kernel only for khadas?
-
- Official Post
I'm test LibreELEC-RK.arm-9.80-devel-20200127120222-6e9040d-rk3399.img on rock pi. Not boot. On screen message after kernel boot "Could not mount flash/SYSTEM".
I'm make extlinux.conf and boot with radxa uboot. On screen message: Not found boot=LABEL.... . Replace to boot=/dev/mmcblk0p9 ... not found ...ha ... it place on /dev/mmcblk1p9 , emmc on mmcblk2 , nvme not found. This kernel only for khadas?
According to the description, you are not running the system correctly. What media is used ? What settings do you make for DTB ? What "internal" media is connected (eMMC NVMe)? What is in SPI ?
If setting is correct , the LE can be run without problems on RockPI 4.
-
1
. As is on Sdcard . Not boot with khadas ubootWith v.20200201 boot ok2. Uboot radxa and this kernel on sd, rootfs on nvme. Not boot. Kernel not found nvme device.
3. Uboot radxa, kernel and rootfs on sd. Boot, but no found nvme.
Devices with this kernel:
Mmcblk0 ???
Mmcblk1 - sd
Mmcblk2 - emmc
Nvme - not found
p.s. With v.20200201 nvme found
-
I tried out "LibreELEC-RK.arm-9.80-devel-20200205122646-6e9040d-rk3399" image on NanoPC T4.
Boot: OK
WiFi: OK
LAN: N/T
EMMC: OK
Bluetooth: N/T
Video (1920x1080): OK
Sound (HDMI): OK
HDMI CEC: OK
Jellyfish (110Mbps, HD, h264): HW, smooth
Jellyfish (110Mbps, HD, HEVC): SW, choppy
Jellyfish (140Mbps, 4k, h264): HW, no video
Jellyfish (140Mbps, 4k, HEVC, 10bit): HW, buffers for a while, plays bits of audio, no video
-
Hi!
I'm test LibreELEC-RK.arm-9.80-devel-20200127120222-6e9040d-rk3399.img on rock pi. Not boot. On screen message after kernel boot "Could not mount flash/SYSTEM".
I'm make extlinux.conf and boot with radxa uboot. On screen message: Not found boot=LABEL.... . Replace to boot=/dev/mmcblk0p9 ... not found ...ha ... it place on /dev/mmcblk1p9 , emmc on mmcblk2 , nvme not found. This kernel only for khadas?
I had simmilar issue with old v5.x kernel images. These steps work for me:
1. write image to SD card
2. write image to USB flash drive
3. insert both into NanoPC T4 (for USB I use 3.0 port)
4. power on NanoPC T4
5. profit?
-
My main problem is that nmve ssd does not work in versions with 5 kernel . In versions with kernel 4 that I tested works, but I can't change 'zoom amount' in 'video settings'.
-
My main problem is that nmve ssd does not work in versions with 5 kernel . In versions with kernel 4 that I tested works, but I can't change 'zoom amount' in 'video settings'.
Hi,
if you need NvmE support you need to enable PCI-E and NVME support in the kernel settings and rebuild the image.
jtosic - For HW decoding there are no drivers available yet for the 5.x kernel. So we just have to wait.
-
First thank you for great image. I use Nanopi M4 mainly as tvheadend server and also like KODI media center. But seems to that Nanopi does not hold MAC address across reboots with this image (tested on image from 5.2.2020). Everytime when nanopi reboot, MAC adress is different, then IP is different (Manual settings does not work). Also I use DVBSky T330 with nanopi, but it does not work with this image, even if I enable kernel drivers (media build) in settings. TVHeadend does not see the usb card. With 9.2.0 image from here >> Rockchip – LibreELEC (RockPro64 ver.) all above works, but does not work CEC and instalation to eMMC << that's the reason why I want to use your image. Any solution for this? thank you
-
if you need NvmE support you need to enable PCI-E and NVME support in the kernel settings and rebuild the image.
Everyone should be able to do it themselves ;). It will not work out so fast for me.
Now, if I use fdt file from version 20200201, nvme is mounted after mounting STORAGE and run kodi. I can use mount -o bind to the some directories.
-
- Official Post
Everytime when nanopi reboot, MAC adress is different, then IP is different (Manual settings does not work)
Add to the settings file (uEnv.txt) in the string parameter APPEND "mac=your_address".
With 9.2.0 image
This version uses the old core 4, in my images the new core 5. In the new kernel, functions have just started to be added, not everything will work.
Now, if I use fdt file from version 20200201, nvme is mounted after mounting STORAGE and run kodi. I can use mount -o bind to the some directories.
If you create a partition on NVMe (ext4) and assign a label to It, you can immediately in the config file (uEnv.txt) specify (instead of the STORAGE label) this label to automatically use NVMe as the primary device for data in LE.
-
If you create a partition on NVMe (ext4) and assign a label to It, you can immediately in the config file (uEnv.txt) specify (instead of the STORAGE label) this label to automatically use NVMe as the primary device for data in LE.
No, nvme don't found on this stage. Message on TV screen obtained. ls /dev is without nvme, only mmcblk1 and 2.
nvme found only after run kodi with version 20200201 . With versions 20200205 and 20200127 nvme not found never. If I copy fdt file from version 0201 to 0205, then with it nvme is also present after run kodi.
-
v20200211 on SDcard as is (only replace config to rk3399-rock-pi-4.dtb)
Display Spoiler
Code
Display MoreBoot1 Release Time: Dec 24 2019 18:00:26, version: 1.24 CPUId =SdmmcInit=2 0 BootCapSize=100000 UserCapSize=14930MB FwPartOffset=2000 , 100000 mmc0:cmd5,20 SdmmcInit=0 0 BootCapSize=0 UserCapSize=30608MB FwPartOffset=2000 , 0 StorageInit ok = 68782 SecureMode = 0 SecureInit read PBA: 0x4 SecureInit read PBA: 0x404 SecureInit read PBA: 0x804 SecureInit read PBA: 0xc04 SecureInit read PBA: 0x1004 SecureInit read PBA: 0x1404 SecureInit read PBA: 0x1804 SecureInit read PBA: 0x1c04 SecureInit ret = 0, SecureMode = 0 GPT 0x3380ea0 signature is wrong recovery gpt... GPT 0x3380ea0 signature is wrong recovery gpt fail! LoadTrust Addr:0x4000 No find bl30.bin No find bl32.bin Load uboot, ReadLba = 2000 Load OK, addr=0x200000, size=0xa4e80 RunBL31 0x40000 @ 170447 us NOTICE: BL31: v1.3(debug):734d84297 NOTICE: BL31: Built : 15:30:40, Dec 12 2019 NOTICE: BL31: Rockchip release version: v1.1 INFO: GICv3 with legacy su GICV3 driver initialized in EL3 INFO: Using opteed sec cpu_context! INFO: boot cpu mask: 0 INFO: If lpddr4 need support multi frequency, INFO: please update loader! INFO: Current ctl index[0] freq=400MHz INF Current ctl index[1] freq=800MHz INFO: plat_rockchip_pmu_i INFO: BL31: Initializing runtime services WARNING: No OPTEEPTEE initialization. SMC`s destined for OPTEE will return SMC_UNINFO: BL31: Preparing for EL3 exit to normal world INFO: U-Boot 2020.01 (Feb 11 2020 - 11:02:44 +0300) Model: Khadas Edge-V DRAM: 3.9 GiB MMC: dwmmc@fe310000: 2, dwmmc@fe320000: 1, sdhci@fe330000: 0 Loading Environment from MMC... *** Warning - bad CRC, using default environment In: serial@ff1a0000 Out: serial@ff1a0000 Err: serial@ff1a0000 Model: Khadas Edge-V rockchip_dnl_key_pressed: adc_channel_single_shot fail! Net: Warning: ethernet@fe300000 (eth0) using random MAC address - 0thernet@fe300000 Hit any key to stop autoboot: 0 starting USB... Bus usb@fe380000: USB EHCI 1.00 Bus usb@fe3c0000: USB EHCI 1.00 Bus dwc3: Register 2000140 NbrPorts 2 Starting the controller USB XHCI 1.10 Bus dwc3: Register 2000140 NbrPorts 2 Starting the controller USB XHCI 11 USB Device(s) found scanning bus usb@fe3c0000 for devices... 1 USB Device(s) found scanning bus dwc3 for devices... 1 USB Device(s) found scanning bus dwc3 for devices... 1 USB Device(s) found scanning usb for storage devices..switch to partitions #0, OK mmc1 is current device Scanning mmc 1:1... Found U-Boot script /boot.scr 818 bytes read in 12 ms (66.4 KiB/s) ## Executing script at 00500000 start mainline u-boot 154 bytes read in 12 ms (11.7 KiB/s) ## Error: "mac" not defined ## Error: "eth_mac" not defined 30345224 bytes read in 1947 ms (14.9 MiB/s) 54280 bytes read in 23 ms (2.3 MiB/s) ## Flattened Device Tree blob at 01f00000 Booting using the fdt blob at 0x1f00000 Host not halted after 16000 microseconds. Loading Device Tree to 00000000f5f12000, end 00000000f5f22407 ... OK Starting kernel ... [ 13.265338] rockchip-drm display-subsystem: failed to bind ff0000.hdmi (ops dw_hdmi_rockchip_[ 15.349615] rk_gmac-dwmac fe300000.ethernet: IRQ eth_wake_irq not found [ 15.352563] rk_gmac-dwmac fe300000.ethernet: IRQ eth_lpi not found [ 15.375414] rk_gmac-dwmac fe300000.ethernet: cannot get clock clk_mac_speed [ 15.784873] OF: graph: no port node found in /syscon@ff770000/usb2-phy@e450/otg-port [ 18.278915] vcc_sdio: unsupportable voltage range: 3300000-30DDR Version 1.17 20190115
Code
Display Moressh [email protected] ############################################## # LibreELEC # # https://libreelec.tv # ############################################## LibreELEC (community): devel-20200211141416-569f834 (ARM-64.arm) LibreELEC:~ # ls /dev autofs mmcblk2p8 snd tty61 block mmcblk2p9 stderr tty62 btrfs-control mmcblk2rpmb stdin tty63 bus mqueue stdout tty7 cec0 nbd0 tty tty8 char nbd1 tty0 tty9 console nbd10 tty1 ttyS1 cpu_dma_latency nbd11 tty10 ttyS2 cuse nbd12 tty11 ttyS3 disk nbd13 tty12 ttyS4 dri nbd14 tty13 ttyp0 fb0 nbd15 tty14 ttyp1 fd nbd2 tty15 ttyp2 fsck.log nbd3 tty16 ttyp3 full nbd4 tty17 ttyp4 fuse nbd5 tty18 ttyp5 gpiochip0 nbd6 tty19 ttyp6 gpiochip1 nbd7 tty2 ttyp7 gpiochip2 nbd8 tty20 ttyp8 gpiochip3 nbd9 tty21 ttyp9 gpiochip4 net tty22 ttypa hidraw0 null tty23 ttypb hidraw1 port tty24 ttypc hidraw2 ptmx tty25 ttypd hidraw3 pts tty26 ttype hugepages ptyp0 tty27 ttypf hwrng ptyp1 tty28 uhid i2c-0 ptyp2 tty29 uinput i2c-1 ptyp3 tty3 urandom i2c-3 ptyp4 tty30 usb i2c-4 ptyp5 tty31 v4l iio:device0 ptyp6 tty32 vcs initctl ptyp7 tty33 vcs1 input ptyp8 tty34 vcs2 kmsg ptyp9 tty35 vcs3 log ptypa tty36 vcs4 loop-control ptypb tty37 vcs5 loop0 ptypc tty38 vcs6 mapper ptypd tty39 vcsa media0 ptype tty4 vcsa1 mem ptypf tty40 vcsa2 mmcblk1 ram0 tty41 vcsa3 mmcblk1p1 ram1 tty42 vcsa4 mmcblk1p2 ram10 tty43 vcsa5 mmcblk2 ram11 tty44 vcsa6 mmcblk2boot0 ram12 tty45 vcsu mmcblk2boot1 ram13 tty46 vcsu1 mmcblk2p1 ram14 tty47 vcsu2 mmcblk2p10 ram15 tty48 vcsu3 mmcblk2p11 ram2 tty49 vcsu4 mmcblk2p12 ram3 tty5 vcsu5 mmcblk2p13 ram4 tty50 vcsu6 mmcblk2p14 ram5 tty51 vfio mmcblk2p15 ram6 tty52 vga_arbiter mmcblk2p16 ram7 tty53 vhci mmcblk2p17 ram8 tty54 video0 mmcblk2p18 ram9 tty55 video1 mmcblk2p2 random tty56 video2 mmcblk2p3 raw tty57 watchdog mmcblk2p4 rfkill tty58 watchdog0 mmcblk2p5 rtc tty59 zero mmcblk2p6 rtc0 tty6 mmcblk2p7 shm tty60 LibreELEC:~ # ls /dev/disk/by-label/ LIBREELEC STORAGE \x2f oem vendor
STORAGE on mmcblk1p2
-
After replacing file rk3399-rock-pi-4.dtb from v20200201, nvme found at [ 19.818350] after mounting storage (mmcblk1p13) at [ 17.452574]
Code
Display More[ 11.309910] rockchip-pcie f8000000.pcie: no vpcie12v regulator found [ 11.316461] rockchip-pcie f8000000.pcie: f8000000.pcie supply vpcie1v8 not found, using dummy regulator [ 11.321613] rockchip-pcie f8000000.pcie: f8000000.pcie supply vpcie0v9 not found, using dummy regulator [ 11.345935] rockchip-pcie f8000000.pcie: host bridge /pcie@f8000000 ranges: [ 11.348683] rockchip-pcie f8000000.pcie: MEM 0x00fa000000..0x00fbdfffff -> 0x00fa000000 [ 11.349657] rockchip-pcie f8000000.pcie: IO 0x00fbe00000..0x00fbefffff -> 0x00fbe00000 [ 11.364180] rockchip-pcie f8000000.pcie: PCI host bridge to bus 0000:00 [ 11.364734] pci_bus 0000:00: root bus resource [bus 00-1f] [ 11.365149] pci_bus 0000:00: root bus resource [mem 0xfa000000-0xfbdfffff] [ 11.365680] pci_bus 0000:00: root bus resource [io 0x0000-0xfffff] (bus address [0xfbe00000-0xfbefffff]) [ 11.368112] pci 0000:00:00.0: [1d87:0100] type 01 class 0x060400 [ 11.373709] pci 0000:00:00.0: supports D1 [ 11.374109] pci 0000:00:00.0: PME# supported from D0 D1 D3hot [ 11.604138] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 11.611995] pci 0000:01:00.0: [1987:5012] type 00 class 0x010802 [ 11.614200] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00003fff 64bit] [ 11.617424] pci 0000:01:00.0: Max Payload Size set to 256 (was 128, max 256) [ 11.627900] pci 0000:01:00.0: 16.000 Gb/s available PCIe bandwidth, limited by 5 GT/s x4 link at 0000:00:00.0 (capable of 31.504 Gb/s with 8 GT/s x4 link) [ 11.849856] pci_bus 0000:01: busn_res: [bus 01-1f] end is updated to 01 [ 11.851708] pci 0000:00:00.0: BAR 14: assigned [mem 0xfa000000-0xfa0fffff] [ 11.852413] pci 0000:01:00.0: BAR 0: assigned [mem 0xfa000000-0xfa003fff 64bit] [ 11.853328] pci 0000:00:00.0: PCI bridge to [bus 01] [ 11.853843] pci 0000:00:00.0: bridge window [mem 0xfa000000-0xfa0fffff] [ 11.862109] pcieport 0000:00:00.0: enabling device (0000 -> 0002) [ 11.877102] pcieport 0000:00:00.0: PME: Signaling with IRQ 227 [ 11.893575] pcieport 0000:00:00.0: AER: enabled with IRQ 227 [ 16.291905] Checking disk(s): LABEL=LIBREELEC LABEL=STORAGE [ 16.314679] dwmmc_rockchip fe310000.dwmmc: Successfully tuned phase to 163 [ 16.317241] mmc0: new ultra high speed SDR104 SDIO card at address 0001 [ 16.328998] dwmmc_rockchip fe320000.dwmmc: Successfully tuned phase to 227 [ 16.329029] mmc1: new ultra high speed SDR104 SDHC card at address aaaa [ 16.329908] mmcblk1: mmc1:aaaa SL16G 14.8 GiB [ 16.335728] mmcblk1: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 [ 17.022891] fsck: /dev/mmcblk1p6: 63 files, 19564/65501 clusters [ 17.023124] fsck: STORAGE: clean, 648/147168 files, 27952/588032 blocks [ 17.198968] FAT-fs (mmcblk1p6): IO charset ascii not found [ 17.218380] [drm] Cannot find any crtc or sizes [ 17.452574] EXT4-fs (mmcblk1p13): mounted filesystem with ordered data mode. Opts: (null) [ 18.411303] kernel-overlays-setup: setup base modules [ 18.426052] systemd[1]: Started Setup NTP servers for timesyncd. [ 18.528733] kernel-overlays-setup: added modules from /usr/lib/kernel-overlays/base/lib/modules/5.5.1 [ 18.598273] kernel-overlays-setup: added firmware from /usr/lib/kernel-overlays/base/lib/firmware [ 18.598818] kernel-overlays-setup: adding overlays from /storage/.cache/kernel-overlays [ 18.603311] kernel-overlays-setup: done [ 18.604879] systemd[1]: kernel-overlays.service: Succeeded. [ 18.605816] systemd[1]: Started Create kernel modules tree from overlays. [ 18.608789] systemd[1]: Starting Create list of static device nodes for the current kernel... [ 18.612269] systemd[1]: Starting Setup machine-id... [ 18.615340] systemd[1]: Starting Mounting swapfile... [ 18.624366] systemd[1]: Starting Load Kernel Modules... [ 18.628614] systemd[1]: Starting udev Coldplug all Devices... [ 18.652640] systemd[1]: Started Setup machine-id. [ 18.657158] systemd[1]: Starting Journal Service... [ 18.670530] systemd[1]: Started Create list of static device nodes for the current kernel. [ 18.674256] systemd[1]: Starting Create Static Device Nodes in /dev... [ 18.720732] systemd[1]: Started Load Kernel Modules. [ 18.721791] systemd[1]: Condition check resulted in FUSE Control File System being skipped. [ 18.725577] systemd[1]: Mounting Kernel Configuration File System... [ 18.729311] systemd[1]: Starting Apply Kernel Variables... [ 18.733556] systemd[1]: Mounted Kernel Configuration File System. [ 18.749920] systemd[1]: Started Apply Kernel Variables. [ 18.766600] systemd[1]: Started Journal Service. [ 18.793987] systemd-journald[382]: Received client request to flush runtime journal. [ 19.299820] random: crng init done [ 19.299825] random: 7 urandom warning(s) missed due to ratelimiting [ 19.818350] nvme nvme0: pci function 0000:01:00.0 [ 19.818398] nvme 0000:01:00.0: enabling device (0000 -> 0002) [ 19.879061] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 19.901233] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ 19.936642] nvme nvme0: missing or invalid SUBNQN field. [ 19.936753] nvme nvme0: Shutdown timeout set to 10 seconds [ 19.942375] nvme nvme0: 6/0/0 default/read/poll queues [ 19.943628] nvme nvme0: ctrl returned bogus length: 16 for NVME_NIDT_EUI64 [ 19.944444] nvme nvme0: ctrl returned bogus length: 16 for NVME_NIDT_EUI64 [ 19.945832] nvme0n1: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13
... nvme is included in module, not a kernel?
p.s. with fdt others versions strings "pci" and "nvme" in dmesg are missing
-
Which dtb do I have to use for h96 max rk3399 box?
And one more question: is there any build based on stable libreelec? There are some problems with a number of add-ons on kodi19
Upd. Install2emmc script no longer works. The only reason I've been choosing this build
-
- Official Post
v20200211 on SDcard as is (only replace config to rk3399-rock-pi-4.dtb)
Did I understand correctly that you didn't add a u-boot to the SD card and the system started with the current u-boot ?
p.s. with fdt others versions strings "pci" and "nvme" in dmesg are missing
Use the latest versions, where NVMe is defined on RockPI4b.
Which dtb do I have to use for h96 max rk3399 box?
I don't have such equipment, I don't test it.
Install2emmc script no longer works.
The image contains incorrect scripts. This has been fixed in the new images.
-