[SOLVED] NSA325 v2, new uBoot succesfully flashed, now can't boot any os February 19, 2015 02:41PM |
Registered: 9 years ago Posts: 4 |
arcNumber=4495 baudrate=115200 bootargs=$(bootargs_linux) bootargs_stock=console=ttyS0,115200 mtdparts=nand_mtd:0x100000(uboot),0x80000(uboot_env),0x80000(key_store),0x80000(info),0xA00000(etc),0xA00000(kernel_1),0x2FC0000(rootfs1),0xA00000(kernel_2),0x2FC0000(rootfs2) root=/dev/nfs rw init=/init bootargs_linux=console=ttyS0,115200 mtdparts=nand_mtd:0x100000(uboot),0x80000(uboot_env),0x80000(key_store),0x80000(info),0xA00000(etc),0xA00000(kernel_1),0x2FC0000(rootfs1),0xA00000(kernel_2),0x2FC0000(rootfs2) root=LABEL=rootfs loglevel=8 bootcmd='run bootcmd_linux bootcmd_linux=setenv bootargs $(bootargs_linux); mw.l f1010100 0020c000; usb reset; ext2load usb 0:1 $(loadaddr) /uImage; ext2load usb 0:1 0x01100000 /uInitrd; bootm $(loadaddr) 0x01100000 bootcmd_stock=setenv bootargs $(bootargs_stock); nand read.e $(loadaddr) $(kernel_addr) 0xA00000; bootm $(loadadr) bootdelay=5 ethact=egiga0 ethaddr=xx:xx:xx:xx:xx:xx filesiza=5d4c1f mainlineLinux=yes stderr=serial stdin=serial stdout=serial
## Booting kernel from Legacy Image at 01100000 ... Image Name: initramfs-3.17.0-kirkwood-tld-1 Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size 6114271 Bytes = 5.8 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Wrong Image Type for bootm command Error occured, error code = 5 ERROR: can't get kernel image!
Re: NSA325 v2, new uBoot succesfully flashed, now can't boot any os February 19, 2015 03:57PM |
Admin Registered: 13 years ago Posts: 18,621 |
setenv loadaddr 0x800000
boot
bootcmd='run bootcmd_linuxshould be
bootcmd=run bootcmd_linux
Re: NSA325 v2, new uBoot succesfully flashed, now can't boot any os February 19, 2015 04:33PM |
Registered: 9 years ago Posts: 4 |
NSA325> boot (Re)start USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 3 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found 2822232 bytes read in 339 ms (7.9 MiB/s) 6114335 bytes read in 594 ms (9.8 MiB/s) bootm - boot application image from memory Usage: bootm [addr [arg ...]] - boot application image stored in memory passing arguments 'arg ...'; when booting a Linux kernel, 'arg' can be the address of an initrd image When booting a Linux kernel which requires a flat device-tree a third argument is required which is the address of the device-tree blob. To boot that kernel without an initrd image, use a '-' for the second argument. If you do not pass a third a bd_info struct will be passed instead Sub-commands to do part of the bootm sequence. The sub-commands must be issued in the order below (it's ok to not issue all sub-commands): start [addr [arg ...]] loados - load OS image ramdisk - relocate initrd, set env initrd_start/initrd_end fdt - relocate flat device tree cmdline - OS specific command line processing/setup bdt - OS specific bd_t processing prep - OS specific prep before relocation or go go - start OS
Re: NSA325 v2, new uBoot succesfully flashed, now can't boot any os February 19, 2015 04:42PM |
Admin Registered: 13 years ago Posts: 18,621 |
bootcmd_linux=setenv bootargs ${bootargs_linux}; mw.l f1010100 0020c000; usb reset; ext2load usb 0:1 ${loadaddr} /uImage; ext2load usb 0:1 0x01100000 /uInitrd; bootm ${loadaddr} 0x01100000
Re: NSA325 v2, new uBoot succesfully flashed, now can't boot any os February 19, 2015 06:08PM |
Registered: 9 years ago Posts: 4 |