u-boot with openwrt-kirkwood-uImage not uImage May 15, 2011 08:17AM |
Registered: 12 years ago Posts: 8 |
dpffan
Re: u-boot with openwrt-kirkwood-uImage not uImage May 15, 2011 08:23PM |
Re: u-boot with openwrt-kirkwood-uImage not uImage May 15, 2011 08:49PM |
Registered: 12 years ago Posts: 8 |
Pogoplug:~$ /usr/sbin/fw_printenv usb_bootcmd usb_bootcmd=run usb_init; run usb_set_bootargs; run usb_boot Pogoplug:~$ Pogoplug:~$ /usr/sbin/fw_printenv usb_boot usb_boot=mw 0x800000 0 1; ext2load usb 0x800000 /boot/openwrt-kirkwood-uImage; if ext2load usb 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi
Pogoplug:~$ /usr/sbin/fw_printenv usb_boot usb_boot=mw 0x800000 0 1; ext2load usb 0x800000 /boot/openwrt-kirkwood-uImage; if ext2load usb 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi Pogoplug:~$ /usr/sbin/fw_printenv ethact=egiga0 bootdelay=3 baudrate=115200 mainlineLinux=yes console=ttyS0,115200 led_init=green blinking led_exit=green off led_error=orange blinking mtdids=nand0=orion_nand partition=nand0,2 stdin=serial stdout=serial stderr=serial rescue_installed=0 rescue_set_bootargs=setenv bootargs console=$console ubi.mtd=2 root=ubi0:rootfs ro rootfstype=ubifs $mtdparts $rescue_custom_params rescue_bootcmd=if test $rescue_installed -eq 1; then run rescue_set_bootargs; nand read.e 0x800000 0x100000 0x400000; bootm 0x800000; else run pogo_bootcmd; fi pogo_bootcmd=if fsload uboot-original-mtd0.kwb; then go 0x800200; fi force_rescue=0 force_rescue_bootcmd=if test $force_rescue -eq 1 || ext2load usb 0:1 0x1700000 /rescueme 1 || fatload usb 0:1 0x1700000 /rescueme.txt 1; then run rescue_bootcmd; fi ubifs_mtd=3 ubifs_set_bootargs=setenv bootargs console=$console ubi.mtd=$ubifs_mtd root=ubi0:rootfs rootfstype=ubifs $mtdparts $ubifs_custom_params usb_scan_list=1 2 3 4 usb_scan_1=usb=0:1 dev=sda1 usb_scan_2=usb=1:1 dev=sdb1 usb_scan_3=usb=2:1 dev=sdc1 usb_scan_4=usb=3:1 dev=sdd1 usb_init=run usb_scan usb_device=0:1 usb_root=/dev/sda1 usb_rootfstype=ext2 usb_rootdelay=10 usb_set_bootargs=setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts $usb_custom_params usb_bootcmd=run usb_init; run usb_set_bootargs; run usb_boot bootcmd=usb start; run force_rescue_bootcmd; run ubifs_bootcmd; run usb_bootcmd; usb stop; run rescue_bootcmd; run pogo_bootcmd; reset ethaddr=00:10:72:06:82:12 ipaddr=192.168.1.170 if_netconsole=ping $serverip start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;fw_setenv preboot run if_netconsole start_netconsole arcNumber=2998 serverip=192.168.1.11 mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data) usb_boot=mw 0x800000 0 1; ext2load usb 0x800000 /boot/openwrt-kirkwood-uImage; if ext2load usb 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi usb_scan=usb_scan_done=0;for scan in $usb_scan_list; do run usb_scan_$scan; if test $usb_scan_done -eq 0 && ext2load usb $usb 0x800000 /boot/openwrt-kirkwood-uImage 1; then usb_scan_done=1; echo "Found bootable drive on usb $usb"; setenv usb_device $usb; setenv usb_root /dev/$dev; fi; done ubifs_bootcmd=run ubifs_set_bootargs; if ubi part data && ubifsmount rootfs && ubifsload 0x800000 /boot/openwrt-kirkwood-uImage && ubifsload 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; fi
dpffan
Re: u-boot with openwrt-kirkwood-uImage not uImage May 15, 2011 11:24PM |
Re: u-boot with openwrt-kirkwood-uImage not uImage May 16, 2011 08:33AM |
Registered: 12 years ago Posts: 8 |
Re: u-boot with openwrt-kirkwood-uImage not uImage May 16, 2011 10:03AM |
Registered: 12 years ago Posts: 8 |
U-Boot 2010.09 (Oct 23 2010 - 11:49:22) Marvell-Dockstar/Pogoplug by Jeff Doozan SoC: Kirkwood 88F6281_A0 DRAM: 128 MiB NAND: 256 MiB In: serial Out: serial Err: serial Net: egiga0 88E1116 Initialized on egiga0 Hit any key to stop autoboot: 3 2 1 0 (Re)start USB... USB: Register 10011 NbrPorts 1 USB EHCI 1.00 scanning bus for devices... 3 USB Device(s) found scanning bus for storage devices... 1 Storage Device(s) found Loading file "/rescueme" from usb device 0:1 (usbda1) ** File not found /rescueme reading /rescueme.txt ** Unable to read "/rescueme.txt" from usb 0:1 ** Creating 1 MTD partitions on "nand0": UBI: logical eraseblock size: (aligned 512) UBI: data offset: 2048 UBI: attached mtd1 to ubi0 number of bad PEBs: of user volumes: 0 UBI: availamax/mean erase counter: 1/1 UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:rootfs", error -19 Error reading superblock on volume 'ubi:rootfs'! Loading file "/boot/openwrt-kirkwood-uImage" from usb device 0:1 (usbda1) 1 bytes read Found bootable drive on usb 0:1 ** No boot file defined ** ** No boot file defined ** Wrong Image Format for bootm command ERROR: can't get kernel image! stopping USB.. ### JFFS2 loading 'uboot-original-mtd0.kwb' to 0x800000 Scanning JFFS2 FS: . . . . . . . . done. ### JFFS2 load complete: 524288 bytes loaded to 0x800000 ## Starting application at 0x00800200 ... U-Boot 1.1R2) CPU running @ 12e 0x00000000 size 12tion (8M - 7M): Done NAND:256 MB CPU : Marvell Feroceon (Rev 1) CLOUD ENGINES BOARD: REDSTONE:1.0 Streaming disabled Write allocate disabled USB 0: host mode PEX 0: interface detected no Link. Net: egiga0 [PRIME], egiga1 Hit any key to stop autoboot: 3 2 1 0 NAND read: device 0 offset 0x100000, size 0x300000 Reading data from 0x100000 -- 0% complete. Reading data from 0x107800 -- 1% complete. Reading data from 0x10f000 -- 2% complete. ... Reading data from 0x3f0800 -- 98% complete. Reading data from 0x3f8000 -- 99% complete. Reading data from 0x3ff800 -- 100% complete. 3145728 bytes read: OK ## Boinux Kernel Image (ksum ... OK OK Starting kernel ... Uncompressing Linux............................................................................................................................ done, booting the kernel. [ 0.000000] Linux version 2.6.on 1 (ARMv5TE), cr=00053177 [ abled, Data cache writeback [ 0.000000] CPU0: D cache: 1638command line: console=ttyS0, dummy device 80x30 [ 0.er: 3, 32768 bytes) [ 0.000000]40000] Mount-cache hash table ent000] [ 0.240000] CPU Intele [ 0.240000] SDRAM_CS2 ....dibase f2000000, size 1MB [ I_CS ....base f4000000, size 16Mize 2MB [ 0.240000] [E [ 0.240000] [ 0.240000] roller #0: c0537600 [ 0.74000m initialized [ 0.740000bcore: registered new device driver 0.840000] IP route cache hash tab.840000] TCP bind hash tableTCP reno registered [ 0.the following functions: [ 0.87XOR engines to use: 4 [ 0.8er Load [ 0.870000] squasversion 2.2. (NAND) © 2001-2006 0.890000] Serial: 8250/16550 driv [ 0.900000] serial8250.0: ttyS1 at MMIO 0xf1000] Loading Marvell Ethernet Drivee support - ETH_DEF_RXQ=0 [ 0.9ive checksum offload enabled [ 0.94Driver ERROR statistics enabled [ [ 0.970000] o Tx descripors: q0=532 [ 0.98000 2, GbE port = 1 [ 0.990000] [ 1.I [ 1.010000] Copyright (c) 19(c) 1999-2006 Intel Corporation [ 1.02ion: 1.41 $ [ 1.040000] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron NAND 256MiB 3,3V 8-bit) [ 1.050000] Scanning device for bad blocks [ 1.150000] Using static partiti160000] 0x00100000-0x00500000 : "uImage" [ ll.70059: Marvell Orion EHCI [ 1.180000] ehci_marvell ehci_marvell.70059: new USB bus registered, assigned bus number 1 [ 1.220000] ehci_marvell ehci_marvell.70059: irq 19, io base 0xf1050100 [ n #1 chosen from 1 choice [ 1.250000] hub 1-0:1.0: USB hub found [ 1.250000] hub 1-0:1.0: 1 port detected [ 1.370000] USB Universal Host Controller Interface driver v3.0 [ 1.650000] usb 1-1: new high speed USB device using ehci_marvell and address 2 [ 1.800000] usb 1-1: configuration #1 chosen from 1 choice [ 1.800000] hub 1-1:1.0: USB hub found [ 1.810000] hub 1-1:1.0: 4 ports detected [ 2.160000] usb 1-1.4: new high speed USB device using ehci_marvell and address 3 [ 2.260000] usb 1-1.4: configurablp.c: v0.13: USB Printer Device Classces [ 2.290000] usbcore: registce common for all mice [ 2.31000r level -1 [ 2.320000] md: raid0 personality registered for level 0 [ 2.320000] md: raid1 personality registered for level 1 [ 2.500000] raid6: int32x1 97 MB/s [ 2.670000] raid6: int32x2 114 MB/s [ 2.840000] raid6: int32x4 122 MB/s [ 3.010000] raid6: int32x8 110 MB/s 20000] md: raid5 personality registd [ 3.080000] arm4regs : 1071.600 MB/sec [ 3.130000] 8regs : 754.800 MB/sec [ 3.180000] 32regs 0-ioctl (2006-10-12) initialised: dme driver [ 3.200000] sdhci: Copyri.c: v2.6:USB HID core driver [ 3.2 [ 3.230000] md: Autodetecting RAID arrays. [ 3.240000] md: autorun ... [ 3.240000] md: ... autorun DONE. [ 7.860000] Empty flash at 0x00de8e44 ends at 0x00de9000 [ 8.440000] VFS: Mounted root (jffs2 filesystem) readonly. [ 8.450000] Freeing init memory: 120K [ 8.470000] scsi 0:0:0:0: Direct-Access USB Flash Memory 5.00 PQ: 0 ANSI: 0 CCS [ 8.510000] sd 0:0:0:0: [sda] 2013 Assuming drive cache: write through [ 8.570000] sd 0:0:0:0: [sda] 2013184 512-byteive cache: write through [ 8.590000] sda: sda1 sda2 [ 8.600000] sd 0:0:0:0: [sda] Attached SCSI removable disk [ 8.600000] sd 0:0:0:0: Attached scsi generic sg0 type 0 init started: BusyBox v1.7.0 (2008-02-26 19:25:17 IST) starting pid 286, tty '': '/etc/init.d/rcS' [ 10.630000] eth0: link down [ 10.630000] eth0: started udhcpc (v1.7.0) started HWADDR 00 0x10 0x75 0x1a 0xa6 0x44 PIP0 166 PIP1 68 Sending discover... [ 12.280000] eth0: link up, full duplex, speed 100 Mbps Sending discover... Sending select for 192.168.1.170... Lease of 192.168.1.170 obtained, lease time 43200 HWADDR 00 0x10 0x75 0x1a 0xa6 0x44 PIP0 166 PIP1 68 eth0 Link encap:Ethernet HWNING MULTICAST MTU:1500 Meer:0 collisions:0 txqueuHWaddr 00:10:75:1A:A6:44 tric:1 Interrupt:11 starting pid 340, tty '': '/bin/sh' -sh-3.2#
dpffan
Re: u-boot with openwrt-kirkwood-uImage not uImage May 16, 2011 10:41PM |
Re: u-boot with openwrt-kirkwood-uImage not uImage May 17, 2011 05:39AM |
Registered: 12 years ago Posts: 8 |
Re: u-boot with openwrt-kirkwood-uImage not uImage May 18, 2011 10:14AM |
Registered: 12 years ago Posts: 8 |
/usr/sbin/flash_erase /dev/mtd0 0 4 /usr/sbin/nandwrite /dev/mtd0 /uboot-original-mtd0.kwb
Re: u-boot with openwrt-kirkwood-uImage not uImage June 06, 2011 11:48AM |
Registered: 12 years ago Posts: 8 |
dpffan
Re: u-boot with openwrt-kirkwood-uImage not uImage June 07, 2011 08:49AM |
Re: u-boot with openwrt-kirkwood-uImage not uImage June 09, 2011 08:32AM |
Registered: 12 years ago Posts: 8 |
Re: u-boot with openwrt-kirkwood-uImage not uImage January 21, 2012 10:09AM |
Registered: 13 years ago Posts: 2 |
dpffan
Re: u-boot with openwrt-kirkwood-uImage not uImage January 21, 2012 07:10PM |