[U-Boot] how to feed kernel, initrd and rootfs into uboot

Hi,
I am having difficulties installing openwrt on an old router box.
The guide stops after u-boot is up and running. https://wiki.openwrt.org/toh/arcadyan/arv752dpw#brnboot
I know how to load kernel image etc into RAM, but it does not boot the kernel. What am I doing wrong?
I already posted in openwrt forums, but it seems nobody is going to help. :( https://forum.openwrt.org/viewtopic.php?id=64615
U-Boot 2013.10-openwrt4 (May 03 2016 - 16:56:57) ARV752DPW
Board: Arcadyan ARV752DPW SoC: Lantiq Danube-S v1.5 CPU: 333.333 MHz IO: 166.667 MHz BUS: 83.333 MHz BOOT: NOR DRAM: 64 MiB Flash: 8 MiB Using default environment
In: serial Out: serial Err: serial Net: Board Net Initialization Failed ltq-eth Hit any key to stop autoboot: 0
ARV752DPW # printenv ... addconsole=setenv bootargs $bootargs console=$consoledev,$baudrate ... baudrate=115200 bootcmd=bootm ${kernel_addr} consoledev=ttyLTQ1 kernel_addr=0xB0040000 loadaddr=0x81000000 stderr=serial stdin=serial stdout=serial
bootargs is not defined :(
now I use "loadx" to load the kernel into ram. after that I "bootm". Nothing happens. Then I tried setenv bootargs console=ttyLTQ1,115200 Did not change anything.
Why does it load to 0x8100 0000? The device has got 64MB RAM, which is 0x0400 0000
~/src/openwrt/bin/lantiq$ 4,3M openwrt-lantiq-xway-ARV752DPW-squashfs.image 1,4M openwrt-lantiq-xway-ARV752DPW-uImage 4,0M openwrt-lantiq-xway-ARV752DPW-uImage-initramfs 178K uboot-lantiq-arv752dpw_brn/openwrt-lantiq-arv752dpw_brn-u-boot.img packages/
which file should I load to what address? then bootm <kernel-address> <initramfs-address> but what to do with the squashfs? what bootargs do I need?
Please CC to my email, I did not subscribe to the list.
thank you very much
JPT
participants (1)
-
JPT