|
Re: 2013.10 U-Boot for FDT and Non-FDT Kernel - GoFlex Net/GoFlex Home/Pogo E02/Dockstar/iConnect/Stora March 26, 2014 02:03AM |
Admin Registered: 13 years ago Posts: 18,575 |
- Flash uboot.environment to 0xC0000
|
Re: 2013.10 U-Boot for FDT and Non-FDT Kernel - GoFlex Net/GoFlex Home/Pogo E02/Dockstar/iConnect/Stora March 27, 2014 08:18PM |
Admin Registered: 13 years ago Posts: 18,575 |
fw_setenv usb_ready_retry 5
|
Re: 2014.01 U-Boot for FDT and Non-FDT Kernel - GoFlex Net/GoFlex Home/Pogo E02/Dockstar/iConnect/Stora April 03, 2014 04:22AM |
Admin Registered: 13 years ago Posts: 18,575 |
|
Re: 2014.01 U-Boot for FDT and Non-FDT Kernel - GoFlex Net/GoFlex Home/Pogo E02/Dockstar/iConnect/Stora April 05, 2014 06:20PM |
Registered: 12 years ago Posts: 62 |
|
Re: 2014.01 U-Boot for FDT and Non-FDT Kernel - GoFlex Net/GoFlex Home/Pogo E02/Dockstar/iConnect/Stora April 05, 2014 06:57PM |
Admin Registered: 13 years ago Posts: 18,575 |
Active arm arm926ejs kirkwood LaCie net2big_v2 d2net_v2 lacie_kw:D2NET_V2
|
Re: 2014.01 U-Boot for FDT and Non-FDT Kernel - GoFlex Net/GoFlex Home/Pogo E02/Dockstar/iConnect/Stora April 06, 2014 06:09AM |
Registered: 12 years ago Posts: 62 |
|
Re: 2014.01 U-Boot for FDT and Non-FDT Kernel - GoFlex Net/GoFlex Home/Pogo E02/Dockstar/iConnect/Stora April 08, 2014 05:25AM |
Registered: 11 years ago Posts: 5 |
U-Boot 2011.12 (Feb 12 2012 - 21:33:07)
Seagate FreeAgent DockStar
SoC: Kirkwood 88F6281_A0
DRAM: 128 MiB
WARNING: Caches not enabled
NAND: 256 MiB
In: serial
Out: serial
Err: serial
Net: egiga0
88E1116 Initialized on egiga0
Hit any key to stop autoboot: 0
u-boot>>
u-boot>>
u-boot>> usb start
(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
u-boot>> fatload usb 0:1 0x800000 uboot.2014.01-tld-1.dockstar.mtd0.kwb
reading uboot.2014.01-tld-1.dockstar.mtd0.kwb
524288 bytes read
u-boot>> go 0x800200
## Starting application at 0x00800200 ...
prefetch abort
pc : [<00000000>] lr : [<00000000>]
sp : 00000000 ip : 00000000 fp : 00000000
r10: 00000000 r9 : 00000000 r8 : 00000000
r7 : 00000000 r6 : 00000000 r5 : 00800cb0 r4 : 07e32f68
r3 : 00000000 r2 : 00800200 r1 : 07e3666c r0 : 00000002
Flags: nzcv IRQs on FIQs on Mode USER_26
Resetting CPU ...
resetting ...
U-Boot 2011.12 (Feb 12 2012 - 21:33:07)
Seagate FreeAgent DockStar
SoC: Kirkwood 88F6281_A0
DRAM: 128 MiB
WARNING: Caches not enabled
NAND: 256 MiB
In: serial
Out: serial
Err: serial
Net: egiga0
88E1116 Initialized on egiga0
Hit any key to stop autoboot: 0
u-boot>>
Open On-Chip Debugger > init > halt target state: halted target halted in ARM state due to debug-request, current mode: Supervisor cpsr: 0x000000d3 pc: 0xffff0000 MMU: disabled, D-Cache: disabled, I-Cache: disabled > dockstar_init > load_image uboot.2013.10.tld-2.dockstar.mtd0.kwb 0x800000 524288 bytes written at address 0x00800000 downloaded 524288 bytes in 84.164177s (6.083 KiB/s) > resume 0x800200 target state: halted target halted in ARM state due to debug-request, current mode: Abort cpsr: 0x800000d7 pc: 0xffff0010 MMU: disabled, D-Cache: disabled, I-Cache: disabled >
|
Re: 2014.01 U-Boot for FDT and Non-FDT Kernel - GoFlex Net/GoFlex Home/Pogo E02/Dockstar/iConnect/Stora April 08, 2014 02:32PM |
Admin Registered: 13 years ago Posts: 18,575 |
|
Re: 2014.01 U-Boot for FDT and Non-FDT Kernel - GoFlex Net/GoFlex Home/Pogo E02/Dockstar/iConnect/Stora April 09, 2014 02:25PM |
Registered: 12 years ago Posts: 62 |
|
Re: 2014.01 U-Boot for FDT and Non-FDT Kernel - GoFlex Net/GoFlex Home/Pogo E02/Dockstar/iConnect/Stora April 11, 2014 07:30PM |
Admin Registered: 13 years ago Posts: 18,575 |
|
Re: 2014.01 U-Boot for FDT and Non-FDT Kernel - GoFlex Net/GoFlex Home/Pogo E02/Dockstar/iConnect/Stora April 14, 2014 07:15PM |
Registered: 11 years ago Posts: 12 |
U-Boot 2014.01-tld-1 (Mar 17 2014 - 21:43:49) Pogo E02
arcNumber=3542
baudrate=115200
bootargs=console=ttyS0,115200 root=LABEL=rootfs rootwait
bootcmd=usb start; ${loadImage}; ${loadInitrd} ; bootm 0x6400000 0x7400000
bootdelay=10
console=ttyS0,115200
ethact=egiga0
ethaddr=00:25:31:00:9E:BC
fdt_high=0x2C000000
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
if_netconsole=ping $serverip
initrd_high=0x2C000000
ipaddr=192.168.1.100
led_error=orange blinking
led_exit=green off
led_init=green blinking
loadImage=ext2load usb 0:1 0x6400000 uImage
loadInitrd=ext2load usb 0:1 0x7400000 uInitrd
mainlineLinux=yes
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
ncip=192.168.1.2
partition=nand0,2
pogo_bootcmd=if fsload uboot-original-mtd0.kwb; then go 0x800200; fi
preboot=run if_netconsole start_netconsole
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=1
rescue_set_bootargs=setenv bootargs console=$console ubi.mtd=2 root=ubi0:rootfs ro rootfstype=ubifs $mtdparts $rescue_custom_params
serverip=192.168.1.2
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;
stderr=nc
stdin=nc
stdout=nc
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; setenv usb_root LABEL=ROOTFS
usb_root=/dev/sda1
usb_rootdelay=30
usb_rootfstype=ext4
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: 2767/131068 bytes
|
Re: 2014.01 U-Boot for FDT and Non-FDT Kernel - GoFlex Net/GoFlex Home/Pogo E02/Dockstar/iConnect/Stora April 14, 2014 08:07PM |
Admin Registered: 13 years ago Posts: 18,575 |
|
Re: 2014.01 U-Boot for FDT and Non-FDT Kernel - GoFlex Net/GoFlex Home/Pogo E02/Dockstar/iConnect/Stora April 16, 2014 10:21AM |
Registered: 11 years ago Posts: 5 |
|
Re: 2014.01 U-Boot for FDT and Non-FDT Kernel - GoFlex Net/GoFlex Home/Pogo E02/Dockstar/iConnect/Stora April 16, 2014 11:49AM |
Registered: 12 years ago Posts: 62 |
# MTD device name Device offset Env. size Flash sector size Number of sectors /dev/mtd0 0x70000 0x1000 0x1000
autoload=no baudrate=115200 bootargs=console=ttyS0,115200 bootcmd=dhcp && run netconsole; if run usbload || run diskload; then bootm 0x800000 0x1200000; fi bootdelay=10 bootfile=uImage diskload=ide reset && ext2load ide 0:2 0x800000 boot/uImage && ext2load ide 0:2 0x1200000 boot/uInitrd ethact=egiga0 ethaddr=00:d0:4b:93:33:21 filesize=188328 ipaddr=192.168.0.17 loadaddr=0x800000 netconsole=set stdin $stdin,nc; set stdout $stdout,nc; set stderr $stderr,nc; serverip=192.168.0.19 stderr=serial,nc,nc,nc stdin=serial,nc,nc,nc stdout=serial,nc,nc,nc usbload=usb start && fatload usb 0:1 $loadaddr /boot/$bootfile
|
Re: 2014.01 U-Boot for FDT and Non-FDT Kernel - GoFlex Net/GoFlex Home/Pogo E02/Dockstar/iConnect/Stora April 16, 2014 03:46PM |
Admin Registered: 13 years ago Posts: 18,575 |
Quote
> So i managed to creat fw_env.config like :
> # MTD device name Device offset Env. size
> Flash sector size Number of sectors
> /dev/mtd0 0x70000 0x1000 0x1000
|
Re: 2014.01 U-Boot for FDT and Non-FDT Kernel - GoFlex Net/GoFlex Home/Pogo E02/Dockstar/iConnect/Stora April 16, 2014 04:00PM |
Admin Registered: 13 years ago Posts: 18,575 |
|
Re: 2014.01 U-Boot for FDT and Non-FDT Kernel - GoFlex Net/GoFlex Home/Pogo E02/Dockstar/iConnect/Stora April 17, 2014 12:40AM |
Registered: 12 years ago Posts: 62 |
>Quote
> > So i managed to creat fw_env.config like :
> > # MTD device name Device offset Env. size
>
> > Flash sector size Number of sectors
> > /dev/mtd0 0x70000 0x1000 0x1000
>
dev: size erasesize name mtd0: 00080000 00001000 "u-boot"
|
Re: 2014.01 U-Boot for FDT and Non-FDT Kernel - GoFlex Net/GoFlex Home/Pogo E02/Dockstar/iConnect/Stora April 17, 2014 02:34AM |
Admin Registered: 13 years ago Posts: 18,575 |
md ff00003c
|
Re: 2014.01 U-Boot for FDT and Non-FDT Kernel - GoFlex Net/GoFlex Home/Pogo E02/Dockstar/iConnect/Stora April 17, 2014 05:53AM |
Registered: 12 years ago Posts: 62 |
> md ff00003c >>
|
Re: 2014.01 U-Boot for FDT and Non-FDT Kernel - GoFlex Net/GoFlex Home/Pogo E02/Dockstar/iConnect/Stora April 17, 2014 03:42PM |
Admin Registered: 13 years ago Posts: 18,575 |
Quote
> And for mtd there is only one partition mtd0
> because on this NAS only u-boot is on the EEPROM
> chip and is size is 512KB.
|
Re: 2014.01 U-Boot for FDT and Non-FDT Kernel - GoFlex Net/GoFlex Home/Pogo E02/Dockstar/iConnect/Stora April 18, 2014 01:14AM |
Admin Registered: 13 years ago Posts: 18,575 |
|
Re: 2014.01 U-Boot for FDT and Non-FDT Kernel - GoFlex Net/GoFlex Home/Pogo E02/Dockstar/iConnect/Stora April 18, 2014 02:32AM |
Registered: 12 years ago Posts: 62 |
|
Re: 2014.01 U-Boot for FDT and Non-FDT Kernel - GoFlex Net/GoFlex Home/Pogo E02/Dockstar/iConnect/Stora April 18, 2014 03:16PM |
Admin Registered: 13 years ago Posts: 18,575 |
|
Re: 2014.01 U-Boot for FDT and Non-FDT Kernel - GoFlex Net/GoFlex Home/Pogo E02/Dockstar/iConnect/Stora April 18, 2014 03:56PM |
Registered: 12 years ago Posts: 62 |
|
Re: 2014.01 U-Boot for FDT and Non-FDT Kernel - GoFlex Net/GoFlex Home/Pogo E02/Dockstar/iConnect/Stora April 20, 2014 06:45AM |
Registered: 13 years ago Posts: 78 |
|
Re: 2014.01 U-Boot for FDT and Non-FDT Kernel - GoFlex Net/GoFlex Home/Pogo E02/Dockstar/iConnect/Stora April 20, 2014 03:31PM |
Admin Registered: 13 years ago Posts: 18,575 |
grep -a --null-data U-Boot /dev/mtd0ro
|
Re: 2014.01 U-Boot for FDT and Non-FDT Kernel - GoFlex Net/GoFlex Home/Pogo E02/Dockstar/iConnect/Stora April 23, 2014 01:26AM |
Registered: 13 years ago Posts: 17 |
|
Re: 2014.01 U-Boot for FDT and Non-FDT Kernel - GoFlex Net/GoFlex Home/Pogo E02/Dockstar/iConnect/Stora April 23, 2014 03:59AM |
Admin Registered: 13 years ago Posts: 18,575 |
Quote
This assumes that your plug has been installed with Jeff's official installation script.
arcNumber=2998 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=10 console=ttyS0,115200 ethact=egiga0 ethaddr=00:10:75:XX:XX:XX 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 if_netconsole=ping $serverip ipaddr=192.168.0.220 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) ncip=192.168.0.224 partition=nand0,2 pogo_bootcmd=if fsload uboot-original-mtd0.kwb; then go 0x800200; fi preboot_nc=run if_netconsole start_netconsole 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 serverip=192.168.0.224 start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version; stderr=nc stdin=nc stdout=nc 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; setenv usb_root LABEL=rootfs usb_root=/dev/sda1 usb_rootdelay=10 usb_rootfstype=ext3 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 preboot=run preboot_nc uboot_version=U-Boot 2014.01-tld-1 (Mar 17 2014 - 22:04:15)
|
Re: 2014.01 U-Boot for FDT and Non-FDT Kernel - GoFlex Net/GoFlex Home/Pogo E02/Dockstar/iConnect/Stora May 05, 2014 05:51PM |
Registered: 13 years ago Posts: 26 |
|
Re: 2014.01 U-Boot for FDT and Non-FDT Kernel - GoFlex Net/GoFlex Home/Pogo E02/Dockstar/iConnect/Stora May 05, 2014 08:26PM |
Admin Registered: 13 years ago Posts: 18,575 |