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.

Launch legacy kernel from mainline uboot is possible?

Featured Replies

Hello,

 

I would like to know if it's possible to put a mainline uboot with ethernet, usb support and lunch the old legacy kernel with it?
I need it to be able to boot remotely (tftp) or from usb to make backup, restore without remove sdcard or lunch a recovery mode remotely by lora and a little uC speaking on uart of OPI.
With mainline uboot it's easy to lunch openwrt on a ramdisk without mounting sdcard.
If i can do the same (mainline uboot) with legacy kernel, i m happy.
Thanks

  • Author
1 minute ago, Igor said:

We only use mainline u-boot on Allwinner boards. For booting any kernel.

Thanks for replying,
Do you know if i can just copy or dd my new uboot custumized?
I have an mainline uboot-orange-pc-sunxi-ith-spl.bin (421.3ko) to write somewhere on sdcard...

  • Author

example of command (tested on OP PC) to boot openwrt in ram from a tftp server (sharing dtb, uimage and rootfs) :

setenv ipaddr 192.168.x.x
setenv serverip 192.168.x.x
setenv netmask 255.255.255.0
setenv kernel_addr_r 0x42000000
setenv fdt_addr_r 0x43000000
setenv ramdisk_addr_r 0x43300000
setenv rootfsaddr 0x43300000

setenv tftpLoadUBoot tftpboot 0x42000000 openwrt-sunxi-uImage
setenv tftpLoadDTB tftpboot 0x43000000 dtb
setenv tftpLoadROOTFSRAM tftpboot 0x43300000 openwrt-sunxi-root.ext4
setenv tftpLoadCMD run tftpLoadUBoot tftpLoadDTB tftpLoadROOTFSRAM
setenv bootargs console=ttyS0,115200 mem=512M earlyprintk root=/dev/ram0 rw ramdisk_size=200000 initrd=0x43300000,100M
saveenv
run tftpLoadCMD
bootm 0x42000000 - 0x43000000 - 0x43300000

 

Guest
This topic is now closed to further replies.

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.