Thinking about upgrading my Pogo E02 U-Boot. February 28, 2017 02:47PM |
Registered: 7 years ago Posts: 22 |
U-Boot 2011.12 (Feb 20 2012 - 21:21:59) Pogoplug E02
[ 5.781933] Scanning device for bad blocks [ 5.790715] Bad eraseblock 43 at 0x000000560000
Re: Thinking about upgrading my Pogo E02 U-Boot. February 28, 2017 04:01PM |
Admin Registered: 13 years ago Posts: 18,569 |
Re: Thinking about upgrading my Pogo E02 U-Boot. February 28, 2017 04:15PM |
Registered: 7 years ago Posts: 22 |
Re: Thinking about upgrading my Pogo E02 U-Boot. February 28, 2017 05:22PM |
Registered: 7 years ago Posts: 22 |
U-Boot 2016.05-tld-1 (Jun 12 2016 - 13:23:43 -0700) Pogo E02 gcc (Debian 4.9.2-10) 4.9.2 GNU ld (GNU Binutils for Debian) 2.25 Hit any key to stop autoboot: 0 starting USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 2 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found Unknown command 'ide' - try 'help' Unknown command 'mmc' - try 'help' no USB devices available Unknown command 'ide' - try 'help' Unknown command 'mmc' - try 'help' running scan_disk ... Scan device usb device usb 0:1 ** Bad device usb 0 ** device usb 1:1 ** Bad device usb 1 ** device usb 2:1 ** Bad device usb 2 ** device usb 3:1 ** Bad device usb 3 ** Scan device ide Unknown command 'ide' - try 'help' device ide 0:1 ** Bad device ide 0 ** device ide 1:1 ** Bad device ide 1 ** device ide 2:1 ** Bad device ide 2 ** device ide 3:1 ** Bad device ide 3 ** Scan device mmc Unknown command 'mmc' - try 'help' device mmc 0:1 ** Bad device mmc 0 ** device mmc 1:1 ** Bad device mmc 1 ** device mmc 2:1 ** Bad device mmc 2 ** device mmc 3:1 ** Bad device mmc 3 ** loading uImage ... ** Bad device usb 0 ** loading uInitrd ... ** Bad device usb 0 ** loading DTB /boot/dts/kirkwood-pogo_e02.dtb ... ** Bad device usb 0 ** Wrong Image Format for bootm command ERROR: can't get kernel image! PogoE02>
Re: Thinking about upgrading my Pogo E02 U-Boot. February 28, 2017 06:04PM |
Registered: 7 years ago Posts: 22 |
Re: Thinking about upgrading my Pogo E02 U-Boot. February 28, 2017 07:05PM |
Admin Registered: 13 years ago Posts: 18,569 |
Re: Thinking about upgrading my Pogo E02 U-Boot. March 01, 2017 10:40AM |
Registered: 7 years ago Posts: 22 |
Re: Thinking about upgrading my Pogo E02 U-Boot. March 01, 2017 04:12PM |
Admin Registered: 13 years ago Posts: 18,569 |
mke2fs -L ROOTFS -j /dev/sdb1
mke2fs -L rootfs -j /dev/sdb1
Re: Thinking about upgrading my Pogo E02 U-Boot. March 01, 2017 04:32PM |
Registered: 7 years ago Posts: 22 |
U-Boot 2016.05-tld-1 (Jun 12 2016 - 13:23:43 -0700) Pogo E02 gcc (Debian 4.9.2-10) 4.9.2 GNU ld (GNU Binutils for Debian) 2.25 Hit any key to stop autoboot: 0 starting USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... EHCI timed out on TD - token=0x80008c80 unable to get device descriptor (error=-1) 2 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found Unknown command 'ide' - try 'help' Unknown command 'mmc' - try 'help' no USB devices available Unknown command 'ide' - try 'help' Unknown command 'mmc' - try 'help' running scan_disk ... Scan device usb device usb 0:1 ** Bad device usb 0 ** device usb 1:1 ** Bad device usb 1 ** device usb 2:1 ** Bad device usb 2 ** device usb 3:1 ** Bad device usb 3 ** Scan device ide Unknown command 'ide' - try 'help' device ide 0:1 ** Bad device ide 0 ** device ide 1:1 ** Bad device ide 1 ** device ide 2:1 ** Bad device ide 2 ** device ide 3:1 ** Bad device ide 3 ** Scan device mmc Unknown command 'mmc' - try 'help' device mmc 0:1 ** Bad device mmc 0 ** device mmc 1:1 ** Bad device mmc 1 ** device mmc 2:1 ** Bad device mmc 2 ** device mmc 3:1 ** Bad device mmc 3 ** loading uImage ... ** Bad device usb 0 ** loading uInitrd ... ** Bad device usb 0 ** loading DTB /boot/dts/kirkwood-pogo_e02.dtb ... ** Bad device usb 0 ** Wrong Image Format for bootm command ERROR: can't get kernel image!
Re: Thinking about upgrading my Pogo E02 U-Boot. March 01, 2017 05:14PM |
Admin Registered: 13 years ago Posts: 18,569 |
scanning bus 0 for devices... EHCI timed out on TD - token=0x80008c80 unable to get device descriptor (error=-1) 2 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) foundSo it got nothing to load the kernel from.
Re: Thinking about upgrading my Pogo E02 U-Boot. March 01, 2017 05:37PM |
Registered: 7 years ago Posts: 22 |
Re: Thinking about upgrading my Pogo E02 U-Boot. March 01, 2017 11:44PM |
Admin Registered: 13 years ago Posts: 18,569 |
setenv usb_ready_retry 30 usb startSee if it is recognized by u-boot now.
Re: Thinking about upgrading my Pogo E02 U-Boot. March 02, 2017 08:34AM |
Registered: 7 years ago Posts: 22 |
setenv usb_ready_retry 30 usb start
PogoE02> boot boot
PogoE02> reset reset resetting ... U-Boot 2016.05-tld-1 (Jun 12 2016 - 13:23:43 -0700) Pogo E02 gcc (Debian 4.9.2-10) 4.9.2 GNU ld (GNU Binutils for Debian) 2.25 Hit any key to stop autoboot: 0 starting USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 3 USB Device(s) found scanning usb for storage devices... Use USB retry period from the environment: 15 second(s) 1 Storage Device(s) found
Re: Thinking about upgrading my Pogo E02 U-Boot. March 02, 2017 02:56PM |
Admin Registered: 13 years ago Posts: 18,569 |
printenv
Re: Thinking about upgrading my Pogo E02 U-Boot. March 02, 2017 03:19PM |
Registered: 7 years ago Posts: 22 |
PogoE02> printenv printenv arcNumber=3542 bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec bootcmd_exec=run load_uimage; if run load_initrd; then if run load_dtb; then bootm $load_uimage_addr $load_initrd_addr $load_dtb_addr; else bootm $load_uimage_addr $load_initrd_addr; fi; else if run load_dtb; then bootm $load_uimage_addr - $load_dtb_addr; else bootm $load_uimage_addr; fi; fi bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi bootdelay=10 bootdev=usb device=0:1 devices=usb ide mmc disks=0 1 2 3 dtb_file=/boot/dts/kirkwood-pogo_e02.dtb ethact=egiga0 ethaddr=XX:XX:XX:XX:XX:XX if_netconsole=ping $serverip ipaddr=192.168.1.17 led_error=orange blinking led_exit=green off led_init=green blinking load_dtb=echo loading DTB $dtb_file ...; load $bootdev $device $load_dtb_addr $dtb_file load_dtb_addr=0x1c00000 load_initrd=echo loading uInitrd ...; load $bootdev $device $load_initrd_addr /boot/uInitrd load_initrd_addr=0x1100000 load_uimage=echo loading uImage ...; load $bootdev $device $load_uimage_addr /boot/uImage load_uimage_addr=0x800000 machid=dd6 mainlineLinux=yes mtdids=nand0=orion_nand mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data) nc_ready=1 ncip=192.168.1.120 partition=nand0,2 preboot=run preboot_nc preboot_nc=setenv nc_ready 0; for pingstat in 1 2 3 4 5; do; sleep 1; if run if_netconsole; then setenv nc_ready 1; fi; done; if test $nc_ready -eq 1; then run start_netconsole; fi scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start"; setenv scan_ide "ide reset"; setenv scan_mmc "mmc rescan"; for dev in $devices; do if test $scan_done -eq 0; then echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if load $dev $disknum:1 $load_uimage_addr /boot/uImage 1; then scan_done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done serverip=192.168.1.120 set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version; stderr=nc stdin=nc stdout=nc uenv_addr=0x810000 uenv_import=echo importing envs ...; env import -t $uenv_addr $filesize uenv_init_devices=setenv init_usb "usb start"; setenv init_ide "ide reset"; setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done; uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices; do for disknum in 0; do run uenv_read_disk; done; done; uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 $uenv_addr /boot/uEnv.txt; then setenv uenv_loaded 1; fi uenv_read_disk=if test $devtype -eq mmc; then if $devtype part; then run uenv_read; fi; else if $devtype part $disknum; then run uenv_read; fi; fi usb_ready_retry=30
Re: Thinking about upgrading my Pogo E02 U-Boot. March 03, 2017 01:23AM |
Admin Registered: 13 years ago Posts: 18,569 |
setenv bootcmd_uenv 'sleep 30; run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi' setenv usb_ready_retry 30 boot
Re: Thinking about upgrading my Pogo E02 U-Boot. March 03, 2017 08:40AM |
Registered: 7 years ago Posts: 22 |
Re: Thinking about upgrading my Pogo E02 U-Boot. March 03, 2017 03:20PM |
Admin Registered: 13 years ago Posts: 18,569 |
sleep 10; usb restart; sleep 10; usb restart; sleep 10; usb restart
Re: Thinking about upgrading my Pogo E02 U-Boot. March 03, 2017 05:54PM |
Registered: 7 years ago Posts: 22 |