jman
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) July 31, 2014 09:54PM |
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) July 31, 2014 11:22PM |
Admin Registered: 13 years ago Posts: 18,848 |
jman
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) August 01, 2014 09:22AM |
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) August 01, 2014 04:03PM |
Registered: 10 years ago Posts: 12 |
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) August 01, 2014 05:53PM |
Admin Registered: 13 years ago Posts: 18,848 |
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) August 01, 2014 08:42PM |
Registered: 10 years ago Posts: 12 |
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) August 01, 2014 10:32PM |
Admin Registered: 13 years ago Posts: 18,848 |
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) August 02, 2014 02:48PM |
Registered: 10 years ago Posts: 12 |
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) August 02, 2014 02:55PM |
Registered: 11 years ago Posts: 214 |
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) August 02, 2014 03:18PM |
Admin Registered: 13 years ago Posts: 18,848 |
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) August 03, 2014 07:17AM |
Registered: 10 years ago Posts: 12 |
Cannot boot with SATA plug in August 24, 2014 08:11AM |
Registered: 10 years ago Posts: 12 |
[ 3.933283] sd 2:0:0:0: [sdc] 2001888 512-byte logical blocks: (1.02 GB/977 MiB) [ 3.942338] sd 2:0:0:0: [sdc] Write Protect is off [ 3.948160] sd 2:0:0:0: [sdc] No Caching mode page found [ 3.960074] sd 2:0:0:0: [sdc] Assuming drive cache: write through [ 3.974356] sdc: sdc1 [ 3.981240] sd 2:0:0:0: [sdc] Attached SCSI removable disk [ 4.183508] sdb: sdb1 sdb2 [ 4.193564] sd 1:0:0:0: [sdb] Attached SCSI disk Begin: Loading essential drivers ... done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. Begin: Running /scripts/local-premount ... done. [ 13.309491] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null) Begin: Running /scripts/local-bottom ... done. done. Begin: Running /scripts/init-bottom ... mount: mounting /dev on /root/dev failed: No such file or directory done. Target filesystem doesn't have requested /sbin/init. No init found. Try passing init= bootarg. modprobe: module i8042 not found in modules.dep modprobe: module atkbd not found in modules.dep modprobe: module uhci-hcd not found in modules.dep modprobe: module ohci-hcd not found in modules.dep BusyBox v1.20.2 (Debian 1:1.20.0-7) built-in shell (ash) Enter 'help' for a list of built-in commands. /bin/sh: can't access tty; job control turned off (initramfs)
Re: Cannot boot with SATA plug in August 24, 2014 09:15AM |
Registered: 11 years ago Posts: 214 |
dt_ide_bootcmd=run ide_set_bootargs; run dt_ide_boot ide_set_bootargs=setenv bootargs root=/dev/sda1 rootfstype=ext4 console=ttyS0,115200 mem=128M
Re: Cannot boot with SATA plug in August 24, 2014 03:59PM |
Admin Registered: 13 years ago Posts: 18,848 |
Quote
zzbao
I know that the sata drive get recognized first during booting. Some systems boot up from Sata connection. Does this version of uboot support connecting a sata drive used for data only?
Quote
shv
But if you put the right stage1 bootloader and the right uboot to your SATA drive it might boot with them
Re: Cannot boot with SATA plug in August 25, 2014 04:15AM |
Registered: 11 years ago Posts: 214 |
Re: Cannot boot with SATA plug in August 25, 2014 08:47AM |
Registered: 12 years ago Posts: 232 |
Re: Cannot boot with SATA plug in August 25, 2014 03:24PM |
Admin Registered: 13 years ago Posts: 18,848 |
Re: Cannot boot with SATA plug in August 25, 2014 04:04PM |
Registered: 12 years ago Posts: 232 |
Re: Cannot boot with SATA plug in August 25, 2014 07:50PM |
Admin Registered: 13 years ago Posts: 18,848 |
Re: Cannot boot with SATA plug in August 26, 2014 03:12AM |
Registered: 11 years ago Posts: 214 |
Re: Cannot boot with SATA plug in August 26, 2014 08:54AM |
Registered: 12 years ago Posts: 232 |
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) August 27, 2014 06:26AM |
Registered: 11 years ago Posts: 214 |
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) August 27, 2014 03:21PM |
Admin Registered: 13 years ago Posts: 18,848 |
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) August 28, 2014 07:02PM |
Registered: 10 years ago Posts: 12 |
Quote
Yes it does boot either USB drive, or SATA drive as a normal rootfs. What shv said was for a specially prepared SATA drive to boot with U-boot image stored on the SATA drive. With this NAND u-boot, to boot from a USB drive while there is a SATA drive attached, what we needs to do is to set u-boot envs correctly so that the Pogo will boot the kernel on the USB drive, and mount the rootfs from that drive. So pls get the listing of your envs and post here.
root@pogob01:~# fw_printenv autoload=no baudrate=115200 bootargs=console=ttyS0,115200n8 bootcmd=run dt_bootcmd_usb bootdelay=10 console=console=ttyS0,115200n8 dt_bootcmd_usb=usb start; run dt_usb_bootcmd; usb stop; reset dt_bootm=bootm $uimage_addr $uinitrd_addr $dtb_addr dt_load_dtb=ext4load usb 0:1 0x62c00000 /boot/dts/ox820-pogoplug-classic.dtb dt_load_initrd=ext4load usb 0:1 0x60e00000 /boot/uInitrd dt_load_uimage=ext4load usb 0:1 0x60500000 /boot/uImage dt_usb_boot=run dt_load_uimage; run dt_load_initrd; run dt_load_dtb; run dt_bootm dt_usb_bootcmd=run usb_set_bootargs; run dt_usb_boot dtb_addr=0x62c00000 ethact=mii0 ethaddr=00:xx:xx:xx:xx:xx if_netconsole=ping $serverip ipaddr=192.168.1.35 mtdids=nand0=41000000.nand mtdparts=mtdparts=41000000.nand:14m(boot),-(data) preboot_nc=run if_netconsole start_netconsole serverip=192.168.1.15 start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version stderr=serial stdin=serial stdout=serial uimage_addr=0x60500000 uinitrd_addr=0x60e00000 usb_device=0:1 usb_rootfstype=ext4 usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=/dev/sda1 rootdelay=10
[ 13.309491] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null) Begin: Running /scripts/local-bottom ... done. done. Begin: Running /scripts/init-bottom ... mount: mounting /dev on /root/dev failed: No such file or directory done. Target filesystem doesn't have requested /sbin/init. No init found. Try passing init= bootarg. modprobe: module i8042 not found in modules.dep modprobe: module atkbd not found in modules.dep modprobe: module uhci-hcd not found in modules.dep modprobe: module ohci-hcd not found in modules.dep BusyBox v1.20.2 (Debian 1:1.20.0-7) built-in shell (ash) Enter 'help' for a list of built-in commands. /bin/sh: can't access tty; job control turned off (initramfs)
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) August 28, 2014 08:41PM |
Admin Registered: 13 years ago Posts: 18,848 |
tune2fs -L rootfs /dev/sda1
fw_setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10'
sync shutdown -h now
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) September 07, 2014 04:50AM |
Registered: 11 years ago Posts: 214 |
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) September 07, 2014 06:10AM |
Admin Registered: 13 years ago Posts: 18,848 |
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) September 07, 2014 06:16AM |
Registered: 11 years ago Posts: 214 |
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) September 07, 2014 06:18AM |
Admin Registered: 13 years ago Posts: 18,848 |
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) September 07, 2014 06:57PM |
Admin Registered: 13 years ago Posts: 18,848 |