* basti <mailingl...@unix-solution.de> [2020-12-06 23:02]: > Sorry for any inconvenience to write is message to you. > Can you please help to set the boot args to load usb in the uboot-config? > > fw_printenv show > bootargs=console=ttyS0,115200 root=/dev/ram initrd=0xa00000,0x900000 > ramdisk=34816 > bootcmd=uart1 0x68;cp.l 0xf8200000 0x800000 0x80000;cp.l 0xf8400000 > 0xa00000 0x240000;bootm 0x800000 > > set initrd addresses to the values above is clear but where do I tell > uboot to start usb and load the files from there?
setenv bootcmd 'uart1 0x68;usb start; fatload usb 0:1 0xa00000 initrd; fatload usb 0:1 0x800000 kernel; bootm 0x800000' saveenv > What did cp.l and the memory adresses behind mean? It means: copy from to size copy Linux kernel from flash to 0x800000 copy ramdisk from flash to 0xa00000 boot kernel at 0x800000 (and bootargs has initrd=0xa00000,0x900000) -- Martin Michlmayr https://www.cyrius.com/