Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

mainline u-boot (March 2024) rk3399 nvme boot

Featured Replies

Now the mainline u-boot has decent pcie and pcie phy driver for rk3399. The only deficiency is the clock of pcie phy not included. The first attached patch add this clock so that u-boot proper can load linux kernel residing in an ext4 partition of nvme ssd.pcie_phy_clk.patch

 

The second patch enables loading the environment from a file in an ext4 partition of nvme ssd.env_nvme.patch

 

More conveniently  the u-boot proper(u-boot.itb) could be an ordinary file residing in an ext4 partition of nvme ssd. The idbloader(tpl/spl in spi/emmc/sdcard) could load it if pcie nvme support is enabled in spl. That's the third attachment.spl_nvme.patch

 

The usb and usb phy is working so the usbkbd can be used to choose a boot option without a serial port debug console. The last attachment set the default env to enable usbkbd and vidconsole.env_vidconsole_usbkbd.patch

 

And for your convenience my u-boot config for nanopc-t4 also attached here.u-boot.config

the config not work, I don't why

 

 

 MKIMAGE u-boot.img
 CC      tpl/arch/arm/mach-rockchip/rk3399/rk3399.o
In file included from include/part.h:9,
                from include/mmc.h:17,
                from include/spl.h:17,
                from arch/arm/mach-rockchip/rk3399/rk3399.c:9:
include/blk.h: In function 'blk_dread':
include/blk.h:552:30: error: 'struct blk_desc' has no member named 'block_read'
 552 |         blks_read = block_dev->block_read(block_dev, start, blkcnt, buffer);
     |                              ^~
include/blk.h: In function 'blk_dwrite':
include/blk.h:564:25: error: 'struct blk_desc' has no member named 'block_write'
 564 |         return block_dev->block_write(block_dev, start, blkcnt, buffer);
     |                         ^~
include/blk.h: In function 'blk_derase':
include/blk.h:571:25: error: 'struct blk_desc' has no member named 'block_erase'
 571 |         return block_dev->block_erase(block_dev, start, blkcnt);

 

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.