Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile July 23, 2014 01:49PM |
Registered: 10 years ago Posts: 66 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile July 23, 2014 02:54PM |
Admin Registered: 13 years ago Posts: 18,821 |
Quote
I believe the link above you have shared should be http://forum.doozan.com/read.php?3,11538,11706
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile July 23, 2014 03:19PM |
Registered: 10 years ago Posts: 66 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile July 23, 2014 03:26PM |
Admin Registered: 13 years ago Posts: 18,821 |
Quote
Also, if you are running stock kernel, which usually does not provide NAND tools, you can download it here in this thread.
/tmp/fw_setenv … /tmp/fw_printenv … /tmp/nand erase … /tmp/nand write ….
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile July 23, 2014 04:04PM |
Registered: 10 years ago Posts: 66 |
Quote
[root@alarm tmp]# ls -l
total 844
-rwxr-xr-x 1 root root 12819 Jul 22 17:23 flash_erase
-rwxr-xr-x 1 root root 329 Jul 22 17:23 fw_env.config
-rwxr-xr-x 1 root root 668497 Jul 22 17:23 fw_printenv
-rwxr-xr-x 1 root root 21286 Jul 22 17:23 nanddump
-rwxr-xr-x 1 root root 11500 Jul 22 17:23 nandwrite
-rw-r--r-- 1 root root 3130 Jan 28 2012 ppv4-install.sh
-rwxr-xr-x 1 root root 131072 Jul 22 17:23 uboot.environment
[root@alarm tmp]# ./fw_printenv
Warning: Bad CRC, using default environment
bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm
bootdelay=5
baudrate=115200
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile July 23, 2014 07:17PM |
Admin Registered: 13 years ago Posts: 18,821 |
Quote
[root@alarm tmp]# ls -l
> total 844
> -rwxr-xr-x 1 root root 12819 Jul 22 17:23
> flash_erase
> -rwxr-xr-x 1 root root 329 Jul 22 17:23
> fw_env.config
> -rwxr-xr-x 1 root root 668497 Jul 22 17:23
> fw_printenv
> -rwxr-xr-x 1 root root 21286 Jul 22 17:23
> nanddump
> -rwxr-xr-x 1 root root 11500 Jul 22 17:23
> nandwrite
> -rw-r--r-- 1 root root 3130 Jan 28 2012
> ppv4-install.sh
> -rwxr-xr-x 1 root root 131072 Jul 22 17:23
> uboot.environment
>
> [root@alarm tmp]# ./fw_printenv
> Warning: Bad CRC, using default environment
> bootcmd=bootp; setenv bootargs root=/dev/nfs
> nfsroot=${serverip}:${rootpath}
> ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:$
> {hostname}::off; bootm
> bootdelay=5
> baudrate=115200
>
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile July 23, 2014 07:34PM |
Registered: 10 years ago Posts: 66 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile July 23, 2014 08:27PM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile July 23, 2014 08:31PM |
Registered: 10 years ago Posts: 66 |
Quote
ipaddr=192.168.0.231
serverip=192.168.0.220
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
baudrate=115200
bootcmd=run bootcmd_usb; run bootcmd_mmc; run bootcmd_sata; reset
bootcmd_mmc=run mmc_init; run set_bootargs_mmc; run mmc_boot
bootcmd_sata=run sata_init; run set_bootargs_sata; run sata_boot;
bootcmd_usb=run usb_init; run set_bootargs_usb; run usb_boot;
bootdelay=10
console=ttyS0,115200
device=0:1
ethact=egiga0
if_netconsole=ping $serverip
led_error=orange blinking
led_exit=green off
led_init=green blinking
mainlineLinux=yes
mmc_boot=mw 0x800000 0 1; run mmc_load_uimage; if run mmc_load_uinitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi
mmc_init=mmc rescan
mmc_load_uimage=ext2load mmc $device 0x800000 /boot/uImage
mmc_load_uinitrd=ext2load mmc $device 0x1100000 /boot/uInitrd
mmc_root=/dev/mmcblk0p1
mtdids=nand0=orion_nand
partition=nand0,2
preboot_nc=run if_netconsole start_netconsole
rootdelay=10
rootfstype=ext3
sata_boot=mw 0x800000 0 1; run sata_load_uimage; if run sata_load_uinitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi
sata_init=ide reset
sata_load_uimage=ext2load ide $device 0x800000 /boot/uImage
sata_load_uinitrd=ext2load ide $device 0x1100000 /boot/uInitrd
sata_root=/dev/sda1
set_bootargs_mmc=setenv bootargs console=$console root=$mmc_root rootdelay=$rootdelay rootfstype=$rootfstype $mtdparts
set_bootargs_sata=setenv bootargs console=$console root=$sata_root rootdelay=$rootdelay rootfstype=$rootfstype $mtdparts
set_bootargs_usb=setenv bootargs console=$console root=$usb_root rootdelay=$rootdelay rootfstype=$rootfstype $mtdparts
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;
stderr=serial
stdin=serial
stdout=serial
usb_boot=mw 0x800000 0 1; run usb_load_uimage; if run usb_load_uinitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi
usb_init=usb start
usb_load_uimage=ext2load usb $device 0x800000 /boot/uImage
usb_load_uinitrd=ext2load usb $device 0x1100000 /boot/uInitrd
usb_root=/dev/sda1
arcNumber=3960
machid=f78
ethaddr=XX:XX:XX:XX:XX:XX
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile July 23, 2014 08:50PM |
Registered: 10 years ago Posts: 66 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile July 23, 2014 10:06PM |
Admin Registered: 13 years ago Posts: 18,821 |
> My debian sd card was ext2. So I set > # ./fw_setenv rootfstype 'ext2' > > and mtdparts as > # ./fw_setenv mtdparts > 'mtdparts=orion_nand:2M(u-boot),3M(uImage),3M(uIma > ge2),8M(failsafe),112M(root)' > > Can I reboot with the Debian SDcard?
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile July 23, 2014 11:08PM |
Registered: 11 years ago Posts: 165 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile July 24, 2014 06:53AM |
Registered: 10 years ago Posts: 66 |
I was masking my ethaddr. The serverip is my linux box and ipaddr is my pogoplug.Quote
baudrate=115200
bootcmd=run bootcmd_usb; run bootcmd_mmc; run bootcmd_sata; reset
bootcmd_mmc=run mmc_init; run set_bootargs_mmc; run mmc_boot
bootcmd_sata=run sata_init; run set_bootargs_sata; run sata_boot;
bootcmd_usb=run usb_init; run set_bootargs_usb; run usb_boot;
bootdelay=10
console=ttyS0,115200
device=0:1
ethact=egiga0
if_netconsole=ping $serverip
led_error=orange blinking
led_exit=green off
led_init=green blinking
mainlineLinux=yes
mmc_boot=mw 0x800000 0 1; run mmc_load_uimage; if run mmc_load_uinitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi
mmc_init=mmc rescan
mmc_load_uimage=ext2load mmc $device 0x800000 /boot/uImage
mmc_load_uinitrd=ext2load mmc $device 0x1100000 /boot/uInitrd
mmc_root=/dev/mmcblk0p1
mtdids=nand0=orion_nand
partition=nand0,2
preboot_nc=run if_netconsole start_netconsole
rootdelay=10
sata_boot=mw 0x800000 0 1; run sata_load_uimage; if run sata_load_uinitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi
sata_init=ide reset
sata_load_uimage=ext2load ide $device 0x800000 /boot/uImage
sata_load_uinitrd=ext2load ide $device 0x1100000 /boot/uInitrd
sata_root=/dev/sda1
set_bootargs_mmc=setenv bootargs console=$console root=$mmc_root rootdelay=$rootdelay rootfstype=$rootfstype $mtdparts
set_bootargs_sata=setenv bootargs console=$console root=$sata_root rootdelay=$rootdelay rootfstype=$rootfstype $mtdparts
set_bootargs_usb=setenv bootargs console=$console root=$usb_root rootdelay=$rootdelay rootfstype=$rootfstype $mtdparts
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;
stderr=serial
stdin=serial
stdout=serial
usb_boot=mw 0x800000 0 1; run usb_load_uimage; if run usb_load_uinitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi
usb_init=usb start
usb_load_uimage=ext2load usb $device 0x800000 /boot/uImage
usb_load_uinitrd=ext2load usb $device 0x1100000 /boot/uInitrd
usb_root=/dev/sda1
arcNumber=3960
machid=f78
ethaddr=XX
ipaddr=10.0.0.9
serverip=10.0.0.6
rootfstype=ext2
mtdparts=mtdparts=orion_nand:2M(u-boot),3M(uImage),3M(uImage2),8M(failsafe),112M(root)
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile July 24, 2014 11:29AM |
Registered: 10 years ago Posts: 66 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile July 24, 2014 02:44PM |
Admin Registered: 13 years ago Posts: 18,821 |
./fw_setenv preboot 'run preboot_nc'
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile July 24, 2014 02:58PM |
Registered: 10 years ago Posts: 66 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile July 24, 2014 03:05PM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile July 24, 2014 05:37PM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile July 24, 2014 07:31PM |
Registered: 10 years ago Posts: 66 |
Quote
U-Boot 2014.07-tld-1 (Jul 18 2014 - 00:59:45)
Pogoplug V4 0
(Re)start USB...
USB0: USB EHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
scanning usb for storage devices... 1 Storage Device(s) found
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
Wrong Image Format for bootm command
ERROR: can't get kernel image!
MMC rescan: current device # 0 initialized OK
3965136 bytes read in 851 ms (4.4 MiB/s)
** File not found /boot/uInitrd **
## Booting kernel from Legacy Image at 00800000 ...
Image Name: Linux-3.14.4-1-ARCH
Created: 2014-05-16 1:38:34 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3965072 Bytes = 3.8 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
Starting kernel ...
Quote
The pogoplug light turns from blinking green to orange and stable green, but can't connect via ssh.
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile July 24, 2014 08:17PM |
Registered: 10 years ago Posts: 66 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile July 24, 2014 08:31PM |
Registered: 10 years ago Posts: 66 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile July 24, 2014 08:53PM |
Registered: 10 years ago Posts: 66 |
What I am missing?Quote
[ 21.476657] NTFS-fs error (device sdb1): parse_ntfs_boot_sector(): Volume size (2TiB) is too large for this architecture. Maximum supported is 2TiB. Sorry.
[ 21.492579] NTFS-fs error (device sda1): parse_ntfs_boot_sector(): Volume size (2TiB) is too large for this architecture. Maximum supported is 2TiB. Sorry.
[ 21.506788] NTFS-fs error (device sdb1): ntfs_fill_super(): Unsupported NTFS filesystem.
[ 21.518219] NTFS-fs error (device sda1): ntfs_fill_super(): Unsupported NTFS filesystem.
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile July 24, 2014 09:15PM |
Registered: 10 years ago Posts: 66 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile July 24, 2014 09:26PM |
Registered: 10 years ago Posts: 66 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile July 25, 2014 12:25AM |
Admin Registered: 13 years ago Posts: 18,821 |
> Great. I think I have extracted arch in sd card by > mistake. I have extracted and now it is working. > Thanks bodhi.
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile July 25, 2014 02:42AM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile July 25, 2014 07:21AM |
Registered: 10 years ago Posts: 66 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile July 25, 2014 07:55AM |
Registered: 11 years ago Posts: 36 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile July 25, 2014 08:31AM |
Registered: 10 years ago Posts: 66 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile July 25, 2014 02:01PM |
Registered: 10 years ago Posts: 7 |