Re: Newer uBoot as workaround to 3.2 kernel problem? June 02, 2012 10:17PM |
Registered: 12 years ago Posts: 92 |
u-boot>> printenv arcNumber=2097 baudrate=115200 bootcmd=usb start; run force_rescue_bootcmd; run ubifs_bootcmd; run usb_bootcmd; usb stop; run rescue_bootcmd; run pogo_bootcmd; reset bootdelay=3 console=ttyS0,115200 ethact=egiga0 ethaddr=00:10:75:1A:91:D5 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 led_error=orange blinking led_exit=green off led_init=green blinking mainlineLinux=yes mtdids=nand0=orion_nand mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data) partition=nand0,2 pogo_bootcmd=if fsload uboot-original-mtd0.kwb; then go 0x800200; fi 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 rescue_installed=0 rescue_set_bootargs=setenv bootargs console=$console ubi.mtd=2 root=ubi0:rootfs ro rootfstype=ubifs $mtdparts $rescue_custom_params stderr=serial stdin=serial stdout=serial ubifs_bootcmd=run ubifs_set_bootargs; if ubi part data && ubifsmount rootfs && ubifsload 0x800000 /boot/uImage && ubifsload 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; 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_boot=mw 0x800000 0 1; ext2load usb $usb_device 0x800000 /boot/uImage; if ext2load usb $usb_device 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi usb_bootcmd=run usb_init; run usb_set_bootargs; run usb_boot usb_device=0:1 usb_init=run usb_scan usb_root=/dev/sda1 usb_rootdelay=10 usb_rootfstype=ext2 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/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 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_scan_list=1 2 3 4 usb_set_bootargs=setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts $usb_custom_params Environment size: 2342/131068 bytes
root@dockstar-db:~# 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 mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data) 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 ubifs_bootcmd=run ubifs_set_bootargs; if ubi part data && ubifsmount rootfs && ubifsload 0x800000 /boot/uImage && ubifsload 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; 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/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 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 usb_boot=mw 0x800000 0 1; ext2load usb $usb_device 0x800000 /boot/uImage; if ext2load usb $usb_device 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi 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:75:1A:91:D5 arcNumber=2097
Re: Newer uBoot as workaround to 3.2 kernel problem? June 02, 2012 10:36PM |
Registered: 12 years ago Posts: 92 |
Configuring network interfaces...[ 26.173800] mv643xx_eth_port mv643xx_eth_port.0: eth0: link up, 100 Mb/s, half duplex, flow control disabled err, eth0: timed out warn, eth0: using IPV4LL address 169.254.196.88 dhcpcd.sh: interface eth0 has been configured with new IP=169.254.196.88 done.
Configuring network interfaces...[ 17.453881] eth0: link up, 100 Mb/s, half duplex, flow control disabled err, eth0: timed out warn, eth0: using IPV4LL address 169.254.39.223 dhcpcd.sh: interface eth0 has been configured with new IP=169.254.39.223 done.
Re: Newer uBoot as workaround to 3.2 kernel problem? June 02, 2012 10:50PM |
Registered: 12 years ago Posts: 92 |
Re: Newer uBoot as workaround to 3.2 kernel problem? June 02, 2012 11:23PM |
Registered: 13 years ago Posts: 501 |
Re: Newer uBoot as workaround to 3.2 kernel problem? June 03, 2012 04:44AM |
Registered: 14 years ago Posts: 78 |
Re: Newer uBoot as workaround to 3.2 kernel problem? June 03, 2012 07:54AM |
Admin Registered: 14 years ago Posts: 304 |
Re: Newer uBoot as workaround to 3.2 kernel problem? June 03, 2012 11:58AM |
Registered: 14 years ago Posts: 78 |
root@pogo_162:~# nanddump --version nanddump 1.4.6 root@pogo_162:~# nanddump --help \Usage: nanddump [OPTIONS] MTD-device Dumps the contents of a nand mtd partition. --help Display this help and exit --version Output version information and exit --bb=METHOD Choose bad block handling method (see below). -a --forcebinary Force printing of binary data to tty -c --canonicalprint Print canonical Hex+ASCII dump -f file --file=file Dump to file -l length --length=length Length -n --noecc Read without error correction --omitoob Omit OOB data (default) -o --oob Dump OOB data -p --prettyprint Print nice (hexdump) -q --quiet Don't display progress and status messages -s addr --startaddress=addr Start address --bb=METHOD, where METHOD can be `padbad', `dumpbad', or `skipbad': padbad: dump flash data, substituting 0xFF for any bad blocks dumpbad: dump flash data, including any bad blocks skipbad: dump good data, completely skipping any bad blocks (default)
rescue:~# nanddump --version nanddump $Revision: 1.29 $ rescue:~# nanddump Usage: nanddump [OPTIONS] MTD-device Dumps the contents of a nand mtd partition. --help Display this help and exit --version Output version information and exit -f file --file=file Dump to file -i --ignoreerrors Ignore errors -l length --length=length Length -n --noecc Read without error correction -o --omitoob Omit oob data -b --omitbad Omit bad blocks from the dump -p --prettyprint Print nice (hexdump) -q --quiet Don't display progress and status messages -s addr --startaddress=addr Start address
Re: Newer uBoot as workaround to 3.2 kernel problem? June 03, 2012 09:53PM |
Registered: 13 years ago Posts: 501 |
Re: Newer uBoot as workaround to 3.2 kernel problem? June 04, 2012 09:25AM |
Admin Registered: 14 years ago Posts: 304 |
Re: Newer uBoot as workaround to 3.2 kernel problem? June 04, 2012 11:53AM |
Registered: 12 years ago Posts: 52 |
Re: Newer uBoot as workaround to 3.2 kernel problem? June 04, 2012 02:12PM |
Registered: 14 years ago Posts: 136 |
Re: Newer uBoot as workaround to 3.2 kernel problem? June 04, 2012 04:17PM |
Registered: 13 years ago Posts: 501 |
Re: Newer uBoot as workaround to 3.2 kernel problem? June 04, 2012 04:46PM |
Admin Registered: 14 years ago Posts: 304 |
Your current uBoot environment should be reasonable. However, if you're having any probems booting, you can reset the environment variables to know good values. Would you like to reset the uBoot environment? [N/y]
Re: Newer uBoot as workaround to 3.2 kernel problem? June 04, 2012 06:15PM |
Registered: 12 years ago Posts: 52 |
Re: Newer uBoot as workaround to 3.2 kernel problem? June 04, 2012 06:41PM |
Registered: 14 years ago Posts: 78 |
## Valid uBoot detected: [pinkpogo davygravy-2012-02-20-current] ## The newest uBoot is already installed on mtd0.
Re: Newer uBoot as workaround to 3.2 kernel problem? June 04, 2012 06:51PM |
Registered: 13 years ago Posts: 501 |
Re: Newer uBoot as workaround to 3.2 kernel problem? June 04, 2012 07:12PM |
Registered: 12 years ago Posts: 52 |
Re: Newer uBoot as workaround to 3.2 kernel problem? June 04, 2012 07:22PM |
Registered: 13 years ago Posts: 501 |
Re: Newer uBoot as workaround to 3.2 kernel problem? June 04, 2012 10:56PM |
Registered: 12 years ago Posts: 3 |
Re: Newer uBoot as workaround to 3.2 kernel problem? June 04, 2012 11:14PM |
Registered: 13 years ago Posts: 501 |
Re: Newer uBoot as workaround to 3.2 kernel problem? June 05, 2012 02:26AM |
Registered: 12 years ago Posts: 3 |
Re: Newer uBoot as workaround to 3.2 kernel problem? June 05, 2012 05:28AM |
Registered: 12 years ago Posts: 8 |
J. Carlos
Re: Newer uBoot as workaround to 3.2 kernel problem? June 06, 2012 08:19AM |
Re: Newer uBoot as workaround to 3.2 kernel problem? June 06, 2012 08:43AM |
Admin Registered: 14 years ago Posts: 304 |
Re: Newer uBoot as workaround to 3.2 kernel problem? June 07, 2012 03:24AM |
Registered: 13 years ago Posts: 15 |
Re: Newer uBoot as workaround to 3.2 kernel problem? June 07, 2012 06:09AM |
Registered: 13 years ago Posts: 501 |
spearfish
Re: Newer uBoot as workaround to 3.2 kernel problem? June 10, 2012 02:02PM |
Re: Newer uBoot as workaround to 3.2 kernel problem? June 10, 2012 03:19PM |
Registered: 13 years ago Posts: 501 |
spearfish
Re: Newer uBoot as workaround to 3.2 kernel problem? June 11, 2012 01:07PM |
f you agree, type 'ok' and press ENTER to continue: ok # checking for /usr/sbin/nandwrite... # checking for /usr/sbin/nanddump... # checking for /usr/sbin/flash_erase... # checking for /usr/sbin/fw_printenv... # checking for /etc/fw_env.config... # Validating existing uBoot... Block size 131072, page size 2048, OOB size 64 Dumping data starting at 0x00000000 and ending at 0x00080000... Connecting to jeff.doozan.com (50.116.34.13:80) valid-uboot.md5 100% |*******************************| 1133 --:--:-- ETA ## Valid uBoot detected: [pinkpogo davygravy-2012-02-20-current] ## The newest uBoot is already installed on mtd0. You are already running the latest uBoot. Your current uBoot environment should be reasonable. However, if you're having any probems booting, you can reset the environment variables to know good values
spearfish
Re: Newer uBoot as workaround to 3.2 kernel problem? June 11, 2012 03:59PM |