Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) September 08, 2014 01:45AM |
Admin Registered: 14 years ago Posts: 19,325 |
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) September 08, 2014 02:52AM |
Registered: 12 years ago Posts: 214 |
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) September 08, 2014 03:05AM |
Admin Registered: 14 years ago Posts: 19,325 |
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) September 08, 2014 03:07AM |
Registered: 12 years ago Posts: 214 |
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) September 08, 2014 03:55AM |
Admin Registered: 14 years ago Posts: 19,325 |
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) September 08, 2014 06:17AM |
Registered: 12 years ago Posts: 214 |
sysbench --test=cpu --cpu-max-prime=2000 --num-threads=2 run sysbench 0.4.12: multi-threaded system evaluation benchmark Running the test with following options: Number of threads: 2 Doing CPU performance benchmark Threads started! Done. Maximum prime number checked in CPU test: 2000 Test execution summary: total time: 73.8397s total number of events: 10000 total time taken by event execution: 147.6396 per-request statistics: min: 14.47ms avg: 14.76ms max: 196.55ms approx. 95 percentile: 15.64ms Threads fairness: events (avg/stddev): 5000.0000/44.00 execution time (avg/stddev): 73.8198/0.002.6.31.14@850MHz with SATA HDD
sysbench --test=cpu --cpu-max-prime=2000 --num-threads=2 run sysbench 0.4.12: multi-threaded system evaluation benchmark Running the test with following options: Number of threads: 2 Doing CPU performance benchmark Threads started! Done. Maximum prime number checked in CPU test: 2000 Test execution summary: total time: 62.3376s total number of events: 10000 total time taken by event execution: 124.6242 per-request statistics: min: 11.90ms avg: 12.46ms max: 68.36ms approx. 95 percentile: 12.84ms Threads fairness: events (avg/stddev): 5000.0000/77.00 execution time (avg/stddev): 62.3121/0.00
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) September 08, 2014 02:20PM |
Registered: 12 years ago Posts: 214 |
~# fw_setenv ethaddr Can't overwrite "ethaddr"In the boot console the change of ethaddr is possible.
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) September 08, 2014 03:13PM |
Admin Registered: 14 years ago Posts: 19,325 |
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) September 08, 2014 03:19PM |
Registered: 12 years ago Posts: 232 |
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) September 08, 2014 04:20PM |
Admin Registered: 14 years ago Posts: 19,325 |
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) September 08, 2014 04:37PM |
Admin Registered: 14 years ago Posts: 19,325 |
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) September 08, 2014 10:30PM |
Admin Registered: 14 years ago Posts: 19,325 |
sysbench --test=cpu --cpu-max-prime=2000 --num-threads=2 run sysbench 0.4.12: multi-threaded system evaluation benchmark Running the test with following options: Number of threads: 2 Doing CPU performance benchmark Threads started! Done. Maximum prime number checked in CPU test: 2000 Test execution summary: total time: 59.6182s total number of events: 10000 total time taken by event execution: 119.2075 per-request statistics: min: 11.70ms avg: 11.92ms max: 25.16ms approx. 95 percentile: 12.44ms Threads fairness: events (avg/stddev): 5000.0000/11.00 execution time (avg/stddev): 59.6038/0.00
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) September 09, 2014 04:16AM |
Registered: 12 years ago Posts: 214 |
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) September 09, 2014 04:32AM |
Admin Registered: 14 years ago Posts: 19,325 |
Quote
I think the format of environment area is different. With the old u-boot fw_printenv couldn't be used due to some CRC error and with the new u-boot blparam can't be used.
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) September 12, 2014 11:27AM |
Registered: 12 years ago Posts: 214 |
autoload=no baudrate=115200 boot=bootm 60500000 boot_stock=run load_nand boot || run load_nand2 boot bootargs=console=ttyS0,115200n8 bootcmd=usb start; run usb_bootcmd; usb stop; run pogo_bootcmd; reset bootcmd_usb=usb start; run usb_bootcmd; usb stop; reset bootdelay=3 console=console=ttyS0,115200n8 dtb_addr=0x62c00000 ethact=mii0 ethaddr=xx:xx:xx:xx:xx:xx if_netconsole=ping $serverip ipaddr=192.168.0.222 load_nand=nboot 60500000 0 200000 load_nand2=nboot 60500000 0 800000 mtdids=nand0=41000000.nand mtdparts=mtdparts=41000000.nand:14m(boot),-(data) pogo_bootcmd=run set_bootargs_stock; run boot_stock preboot_nc=run if_netconsole start_netconsole serverip=192.168.0.220 set_bootargs_stock=setenv bootargs root=ubi0:rootfs ubi.mtd=2,512 rootfstype=ubifs console=ttyS0,115200 elevator=cfq mac_adr=0x00,0x30,0xe0,0x00,0x00,0x01 mem=128M poweroutage=yes set_bootargs_usb=setenv bootargs console=ttyS0,115200 root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts $usb_custom_params 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_boot=ext2load usb $usb_device 0x60500000 /boot/uImage; if ext2load usb $usb_device 0x60e00000 /boot/uInitrd; then if ext2load usb $usb_device 0x62c00000 /boot/dts/ox820-pogoplug-pro.dtb; then bootm 0x60500000 0x60e00000 0x62c00000; else bootm 0x60500000 0x60e000; fi; else bootm 0x60500000; fi usb_bootcmd=run set_bootargs_usb; run usb_boot usb_custom_params=ubi.mtd=2,512 elevator=cfq mac_adr=0x00,0x30,0xe0,0x00,0x00,0x01 mem=128M poweroutage=yes rootwait usb_device=0:1 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
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) September 12, 2014 03:57PM |
Admin Registered: 14 years ago Posts: 19,325 |
usb_root=LABEL=rootfs
usb_boot=ext2load usb $usb_device 0x60500000 /boot/uImage; if ext2load usb $usb_device 0x60e00000 /boot/uInitrd; then if ext2load usb $usb_device 0x62c00000 /boot/dts/ox820-pogoplug-pro.dtb; then bootm 0x60500000 0x60e00000 0x62c00000; else bootm 0x60500000 0x60e000; fi; else bootm 0x60500000; fi
bootm 0x60500000 - 0x62c00000
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) September 12, 2014 05:03PM |
Registered: 12 years ago Posts: 214 |
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) September 12, 2014 05:50PM |
Admin Registered: 14 years ago Posts: 19,325 |
bootm 0x60500000 0x60e00000 0x62c00000
bootm 0x60500000 - 0x62c00000
bootm 0x60500000 0x60e00000
bootm 0x60500000
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) September 13, 2014 03:51AM |
Registered: 12 years ago Posts: 214 |
usb_boot= ext2load usb $usb_device 0x60500000 /boot/uImage; if ext2load usb $usb_device 0x60e00000 /boot/uInitrd; then if ext2load usb $usb_device 0x62c00000 /boot/dts/ox820-pogoplug-pro.dtb; then bootm 0x60500000 0x60e00000 0x62c00000; else bootm 0x60500000 0x60e00000; fi; else if ext2load usb $usb_device 0x62c00000 /boot/dts/ox820-pogoplug-pro.dtb; then bootm 0x60500000 - 0x62c00000; else bootm 0x60500000; fi; fiI am not sure if the length of one line is limited because all of the code above would be in one line.
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) September 14, 2014 07:30AM |
Registered: 12 years ago Posts: 214 |
#!/bin/sh # uncomment line below and set to the correct disk #disk=/dev/sdb if [ -z "${disk}" ] ; then echo "You must uncomment/set the 'disk' variable" exit -1 fi perl <<EOF | dd of="$disk" bs=512 print "\x00" x 0x1bc; EOF
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) September 14, 2014 04:20PM |
Admin Registered: 14 years ago Posts: 19,325 |
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) September 21, 2014 06:53AM |
Registered: 12 years ago Posts: 214 |
Reset IDE: Bus 0: OK Device 0: Model: ST9500325AS Firm: 0002BSM1 Ser#: 5VEKYXGQ Type: Hard Disk Supports 48-bit addressing Capacity: 476940.0 MB = 465.7 GB (976773168 x 512) 2346684 bytes read in 520 ms (4.3 MiB/s) 2567509 bytes read in 583 ms (4.2 MiB/s) ** File not found /boot/dts/ox820-pogoplug-pro.dtb ** ## Booting kernel from Legacy Image at 60500000 ... Image Name: Linux-2.6.31.14-oxnas-shv Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2346620 Bytes = 2.2 MiB Load Address: 60008000 Entry Point: 60008000 Verifying Checksum ... OK
Reset IDE: Bus 0: OK Device 0: Model: ST9500325AS Firm: 0002BSM1 Ser#: 5VEKYXGQ Type: Hard Disk Supports 48-bit addressing Capacity: 476940.0 MB = 465.7 GB (976773168 x 512) 2346684 bytes read in 520 ms (4.3 MiB/s) 2567509 bytes read in 583 ms (4.2 MiB/s) 7029 bytes read in 55 ms (124 KiB/s) ## Booting kernel from Legacy Image at 60500000 ... Image Name: Linux-2.6.31.14-oxnas-shv Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2346620 Bytes = 2.2 MiB Load Address: 60008000 Entry Point: 60008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 60e00000 ... Image Name: initramfs-2.6.31.14-oxnas-shv Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 2567445 Bytes = 2.4 MiB Load Address: 60000000 Entry Point: 60000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 62c00000 Booting using the fdt blob at 0x62c00000 Loading Kernel Image ... OK Loading Ramdisk to 67bb7000, end 67e29d15 ... OK Loading Device Tree to 67bb2000, end 67bb6b74 ... OK Led: GREEN Starting kernel ... Uncompressing Linux.............................................................................................................................................. done, booting the kernel.Even the ramdisk is loaded in this case the kernel doesn't start.
autoload=no baudrate=115200 boot=bootm 60500000 boot_stock=run load_nand boot || run load_nand2 boot bootargs=console=ttyS0,115200n8 bootcmd=ide reset; run ide_bootcmd; usb start; run usb_bootcmd; usb stop; irun pogo_bootcmd; reset bootcmd_usb=usb start; run usb_bootcmd; usb stop; reset bootdelay=3 console=console=ttyS0,115200n8 dtb_addr=0x62c00000 ethact=mii0 ethaddr=00:01:02:03:04:05 ide_boot=ext2load ide 0:1 0x60500000 /boot/uImage; if ext2load ide 0:1 0x60e00000 /boot/uInitrd; then if ext2load ide 0:1 0x62c00000 /boot/dts/ox820-pogoplug-pro.dtb; then bootm 0x60500000 0x60e00000 0x62c00000; else bootm 0x60500000 0x60e000; fi; else bootm 0x60500000; fi ide_bootcmd=run set_bootargs_ide; run ide_boot ide_rootfstype=ext4 if_netconsole=ping $serverip ipaddr=192.168.0.222 load_nand=nboot 60500000 0 200000 load_nand2=nboot 60500000 0 800000 mtdids=nand0=41000000.nand mtdparts=mtdparts=41000000.nand:14m(boot),-(data) pogo_bootcmd=run set_bootargs_stock; run boot_stock preboot_nc=run if_netconsole start_netconsole serverip=192.168.0.220 set_bootargs_ide=setenv bootargs console=ttyS0,115200 root=$usb_root rootdelay=$usb_rootdelay rootfstype=$ide_rootfstype $mtdparts $usb_custom_params set_bootargs_stock=setenv bootargs root=ubi0:rootfs ubi.mtd=2,512 rootfstype=ubifs console=ttyS0,115200 elevator=cfq mac_adr=0x00,0x30,0xe0,0x00,0x00,0x01 mem=128M poweroutage=yes set_bootargs_usb=setenv bootargs console=ttyS0,115200 root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts $usb_custom_params 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_boot=ext2load usb $usb_device 0x60500000 /boot/uImage; if ext2load usb $usb_device 0x60e00000 /boot/uInitrd; then if ext2load usb $usb_device 0x62c00000 /boot/dts/ox820-pogoplug-pro.dtb; then bootm 0x60500000 0x60e00000 0x62c00000; else bootm 0x60500000 0x60e000; fi; else bootm 0x60500000; fi usb_bootcmd=run set_bootargs_usb; run usb_boot usb_custom_param=ubi.mtd=2,512 elevator=cfq mac_adr=0x00,0x30,0xe0,0x00,0x00,0x01 mem=128M poweroutage=yes usb_custom_params=ubi.mtd=2,512 elevator=cfq mac_adr=0x00,0x30,0xe0,0x00,0x00,0x01 mem=128M poweroutage=yes rootwait usb_custom_params_=ubi.mtd=2,512 elevator=cfq mac_adr=0x00,0x30,0xe0,0x00,0x00,0x01 mem=128M poweroutage=yes rootwait usb_device=0:1 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
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) September 21, 2014 03:20PM |
Admin Registered: 14 years ago Posts: 19,325 |
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) September 22, 2014 11:10AM |
Admin Registered: 14 years ago Posts: 19,325 |
Quote
** File not found /boot/dts/ox820-pogoplug-pro.dtb **
Quote
## Flattened Device Tree blob at 62c00000
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) September 22, 2014 11:17AM |
Registered: 12 years ago Posts: 214 |
Quote
** File not found /boot/dts/ox820-pogoplug-pro.dtb **
autoload=no baudrate=115200 boot=bootm 60500000 boot_stock=run load_nand boot || run load_nand2 boot bootargs=console=ttyS0,115200n8 bootcmd=usb start; run usb_bootcmd; usb stop; ide reset; run ide_bootcmd; run pogo_bootcmd; reset bootcmd_usb=usb start; run usb_bootcmd; usb stop; reset bootdelay=3 console=console=ttyS0,115200n8 ethact=mii0 ethaddr=00:01:02:03:04:05 ide_boot=ext2load ide 0:1 0x60500000 /boot/uImage; if ext2load ide 0:1 0x60e00000 /boot/uInitrd; then if ext2load ide 0:1 0x62c00000 /boot/dts/ox820-pogoplug-pro.dtb; then bootm 0x60500000 0x60e00000 0x62c00000; else bootm 0x60500000 0x60e00000; fi; else bootm 0x60500000; fi ide_bootcmd=run set_bootargs_ide; run ide_boot ide_rootfstype=ext4 if_netconsole=ping $serverip ipaddr=192.168.0.222 load_nand=nboot 60500000 0 200000 load_nand2=nboot 60500000 0 800000 mtdids=nand0=41000000.nand mtdparts=mtdparts=41000000.nand:14m(boot),-(data) pogo_bootcmd=run set_bootargs_stock; run boot_stock preboot_nc=run if_netconsole start_netconsole serverip=192.168.0.220 set_bootargs_ide=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs-ide rootdelay=$usb_rootdelay rootfstype=$ide_rootfstype $mtdparts $usb_custom_params set_bootargs_stock=setenv bootargs root=ubi0:rootfs ubi.mtd=2,512 rootfstype=ubifs console=ttyS0,115200 elevator=cfq mac_adr=0x00,0x30,0xe0,0x00,0x00,0x01 mem=128M poweroutage=yes set_bootargs_usb=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts $usb_custom_params 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=ext2load usb $usb_device 0x60500000 /boot/uImage; if ext2load usb $usb_device 0x60e00000 /boot/uInitrd; then if ext2load usb $usb_device 0x62c00000 /boot/dts/ox820-pogoplug-pro.dtb; then bootm 0x60500000 0x60e00000 0x62c00000; else bootm 0x60500000 0x60e00000; fi; else bootm 0x60500000; fi usb_bootcmd=run set_bootargs_usb; run usb_boot usb_custom_params=ubi.mtd=2,512 elevator=cfq mac_adr=0x00,0x30,0xe0,0x00,0x00,0x01 mem=128M poweroutage=yes rootwait usb_device=0:1 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
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) October 09, 2014 08:43PM |
Registered: 10 years ago Posts: 7 |
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) October 10, 2014 02:19AM |
Admin Registered: 14 years ago Posts: 19,325 |
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) October 10, 2014 07:04AM |
Registered: 10 years ago Posts: 7 |
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) October 11, 2014 02:30AM |
Admin Registered: 14 years ago Posts: 19,325 |
Re: 2013.10 U-Boot for Pogoplug V3 (OXNAS) October 13, 2014 09:05AM |
Registered: 12 years ago Posts: 232 |