Quantcast
Channel: Linux Device Hacking - uBoot
Viewing all 902 articles
Browse latest View live

How to transcode JVC Everio TOD to Premiere Elements (no replies)

$
0
0
To celebrate the most romantic day of the year, Aunsoft Save $20 Best-selling Aunsoft SWF Converter and TOD MOD Converter are up to 80% Off for the first time, as well as MKV, FLV TiVo and DTS to AC3 Converter. The excellent Flash SWF Converter is also on sale with 30% Off. As we know, MOD and TOD videos are mainly produced by digital hard disk camcorder such as JVC camcorder and so on. It is not common video formats and can only be played on some special players. To convert Mod and Tod video to AVI, MPG, WMV, MPEG, you need professional conversion tools.

[img]http://www.aunsoft.com/images/product/flv-converter/valentine-offers-2014.jpg[/img]

Aunsoft 2014 top TOD Converter is specially designed for JVC TOD camcorder owners to convert and edit MPEG-2 *.tod files from JVC Everio GZ-HD10, GZ-HD5, GZ-HD30, GZ-HD7, GZ-HD40, etc. The Valentine's best gift TOD MOD Converter is currently the best Mac MOD Video/Sound Files Converter designed for MOD camcorders (JVC, Panasonic, and Cannon) users. Both of the converters provide the easiest way to edit files, such as trim, crop, add watermark, remove interlacing artifacts, add special effect, merge several segments into only one and more. For Mac users, TOD converter for Mac and MOD convertor for Mac are available.

Below is a simple tutorial to convert JVC Everio TOD to Premiere Elements. With the advanced technology and the clear interface, the timesaving conversion process is with only 3 or 4 steps.

Step 1: Import TOD video files

Drag TOD video files into this software or click "Add" button to load TOD video files. And batch video files are allowed to be loaded for conversion.

Step 2: Select the output format and specify the destination folder.

Click "format" and under Adobe Premiere/Sony Vegas option, you can clearly see easier editing formats for Premiere Elements, including WMV, MPEG-2 and MOV. MPEG-2 and MOV with H.264 Codec are also best format for Premiere. You can select what you like. Then, you can specify the folder which you would like to put the converted video file.

[img]http://www.aunsoft.com/images/product/tod-converter/tod-converter-output-2014214.png[/img]

Step 3: Set video and audio profile

You can click "Settings" to set up video size, frame rate, bitrates and other settings. "Reset" icon will return to default value for you.

Step 4: Join video files (Optional) and start TOD to MOV conversion.

For smoothly editing and playing, combine your imported video files into big one by ticking the checkbox of "Merge into one file". Finally, click the "Convert" and the 80% Off TOD Converter will run fast.

If you have camcorder which can records multiple formats, such as AVCHD, MXF, MOV, DPX, etc, you can try the versatile Best Aunosft iMeida Converter for Mac.

useful converters

Save $20 Aunsoft SWF Converter

Up to 90% Off Tivo/FLV/MKV Converter

Best Aunsoft iMedia Converter for Mac

Aunsoft Blu-ray Video Converter Ultimate

mxf apple prores

mxf converter reviews

Upgrading from old chained uboot on dockstar (4 replies)

$
0
0
So, I've got a dockstar that I installed Debian Lenny on quite a while ago. I used the old instructions back when they were the recommended method to install. I used a little USB HDD to run Debian and at some point it died. After I confirmed that it was dead, I tried to boot into regular Seagate dockstar system on flash and discovered that it also wasn't booting. I set it aside for a while, but recently managed to get an old Lenny install going again by manually unpacking it to a USB stick and booting it. What I'd like to do is get a relatively recent Debian booting, but I think I need a newer uboot for that. Since all the uboot install directions floating around recommend installing it from the Seagate Dockstar environment, I need some advise on where to go next.

Short version
Current situation:
  1. Installed Debian Lenny using old chained uboot installation method
  2. Seagate Dockstar environment won't boot anymore
  3. I can still boot into Lenny
Goal: Get a newer version of uboot installed so I can get a newer version of Debian booting from USB stick

PogoPlug E02 Black (13 replies)

$
0
0
hello every one

i have bought my PogoPlug E02 black one one week ago and yesterday i tried to install uboot (/install_uboot_mtd0.sh) and then to install Arch Linux ARM but unfortunallty i go error message (Installation cancelled.) then i forced the installation with (--no-uboot-check ) but again i go this message (uBoot could not be downloaded, or the MD5 does not match.)
the prompet of the switched from bash to pogoplug and i have tried to install again but with no result.

then i found one topic (dont remeber it now ) which contains some steps how to remove some data from flash and the earse !!!! actully i'm not fimilar with these command in unix but i tried it.
now i cant access it via ssh but can access using serial connection , below is the messages i got , it stops at this line

Scheduling watchdog timeout to force reboot...

then start the boot over again

U-Boot 1.1.4 (Sep 28 2009 - 11:55:23) Cloud Engines v2.0 (3.4.16)

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 00690D60

Soc: 88F6281 A0 (DDR2)
CPU running @ 1200Mhz L2 running @ 400Mhz
SysClock = 400Mhz , TClock = 200Mhz 

DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000   size 256MB 
DRAM Total size 256MB  16bit width
Flash:  0 kB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:128 MB

CPU : Marvell Feroceon (Rev 1)
CLOUD ENGINES BOARD: PPV2

Streaming disabled 
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
Net:   egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  0 

NAND read: device 0 offset 0x100000, size 0x200000

Reading data from 0x2ff800 -- 100% complete.
 2097152 bytes read: OK
## Booting image at 00800000 ...
   Image Name:   Linux-2.6.22.18
   Created:      2010-10-19  23:05:02 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1979140 Bytes =  1.9 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux............................................................................................................................ done, booting the kernel.
[    0.000000] Linux version 2.6.22.18 (bdietrich@buildman) (gcc version 4.2.1) #81 Tue Oct 19 16:05:00 PDT 2010
[    0.000000] CPU: ARM926EJ-S [56251311] revision 1 (ARMv5TE), cr=00053177
[    0.000000] Machine: Feroceon-KW
[    0.000000] Using UBoot passing parameters structure
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] CPU0: D VIVT write-back cache
[    0.000000] CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
[    0.000000] CPU0: D cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
[    0.000000] Built 1 zonelists.  Total pages: 65024
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/mtdblock2 ro
[    0.000000] PID hash table entries: 1024 (order: 10, 4096 bytes)
[    0.000000] Console: colour dummy device 80x30
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.010000] Memory: 256MB 0MB 0MB 0MB = 256MB total
[    0.010000] Memory: 255872KB available (3592K code, 253K data, 124K init)
[    0.250000] Mount-cache hash table entries: 512
[    0.250000] CPU: Testing write buffer coherency: ok
[    0.250000] NET: Registered protocol family 16
[    0.250000] 
[    0.250000] CPU Interface
[    0.250000] -------------
[    0.250000] SDRAM_CS0 ....base 00000000, size 256MB 
[    0.250000] SDRAM_CS1 ....disable
[    0.250000] SDRAM_CS2 ....disable
[    0.250000] SDRAM_CS3 ....disable
[    0.250000] PEX0_MEM ....base e8000000, size 128MB 
[    0.250000] PEX0_IO ....base f2000000, size   1MB 
[    0.250000] INTER_REGS ....base f1000000, size   1MB 
[    0.250000] NFLASH_CS ....base fa000000, size   2MB 
[    0.250000] SPI_CS ....base f4000000, size  16MB 
[    0.250000] BOOT_ROM_CS ....no such
[    0.250000] DEV_BOOTCS ....no such
[    0.250000] CRYPT_ENG ....base f0000000, size   2MB 
[    0.250000] 
[    0.250000]   Marvell Development Board (LSP Version KW_LSP_4.2.7_patch21_with_rx_desc_tuned)-- SHEEVA PLUG  Soc: 88F6281 A0 LE
[    0.250000] 
[    0.250000]  Detected Tclk 200000000 and SysClk 400000000 
[    0.250000] MV Buttons Device Load
[    0.250000] Marvell USB EHCI Host controller #0: c0652600
[    0.750000] PEX0 interface detected no Link.
[    0.750000] PCI: bus0: Fast back to back transfers enabled
[    0.750000] SCSI subsystem initialized
[    0.750000] usbcore: registered new interface driver usbfs
[    0.750000] usbcore: registered new interface driver hub
[    0.750000] usbcore: registered new device driver usb
[    0.750000] NET: Registered protocol family 2
[    0.760000] Time: kw_clocksource clocksource has been installed.
[    0.850000] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.850000] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[    0.850000] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[    0.850000] TCP: Hash tables configured (established 8192 bind 8192)
[    0.850000] TCP reno registered
[    0.880000] RTC has been updated!!!
[    0.880000] RTC registered
[    0.880000] Use the XOR engines (acceleration) for enhancing the following functions:
[    0.880000]   o RAID 5 Xor calculation
[    0.880000]   o kernel memcpy
[    0.880000]   o kenrel memzero
[    0.880000] Number of XOR engines to use: 4
[    0.880000] cesadev_init(c00117b0)
[    0.880000] mvCesaInit: sessions=640, queue=64, pSram=f0000000
[    0.880000] MV Buttons Driver Load
[    0.880000] squashfs: version 3.3 (2007/10/31) Phillip Lougher
[    0.880000] squashfs: LZMA suppport for slax.org by jro
[    0.880000] JFFS2 version 2.2. (NAND) أ‚آ© 2001-2006 Red Hat, Inc.
[    0.880000] io scheduler noop registered
[    0.880000] io scheduler anticipatory registered (default)
[    0.900000] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
[    0.900000] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
[    0.910000] RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
[    0.920000] Loading Marvell Ethernet Driver:
[    0.920000]   o Cached descriptors in DRAM
[    0.920000]   o DRAM SW cache-coherency
[    0.930000]   o Single RX Queue support - ETH_DEF_RXQ=0
[    0.930000]   o Single TX Queue support - ETH_DEF_TXQ=0
[    0.940000]   o TCP segmentation offload enabled
[    0.940000]   o Receive checksum offload enabled
[    0.950000]   o Transmit checksum offload enabled
[    0.950000]   o Network Fast Processing (Routing) supported
[    0.960000]   o Driver ERROR statistics enabled
[    0.960000]   o Driver INFO statistics enabled
[    0.970000]   o Proc tool API enabled
[    0.970000]   o Rx descripors: q0=128
[    0.970000]   o Tx descripors: q0=532
[    0.980000]   o Loading network interface(s):
[    0.990000]     o eth0, ifindex = 1, GbE port = 0
[    0.990000]     o eth1, ifindex = 2, GbE port = 1
[    1.000000] 
[    1.000000] mvFpRuleDb (cfdf6000): 2048 entries, 8192 bytes
[    1.000000] Intel(R) PRO/1000 Network Driver - version 7.3.20-k2-NAPI
[    1.010000] Copyright (c) 1999-2006 Intel Corporation.
[    1.020000] e100: Intel(R) PRO/100 Network Driver, 3.5.17-k4-NAPI
[    1.020000] e100: Copyright(c) 1999-2006 Intel Corporation
[    1.030000] 
[    1.030000] Warning Sata is Powered Off
[    1.030000] NFTL driver: nftlcore.c $Revision: 1.98 $, nftlmount.c $Revision: 1.41 $
[    1.040000] NAND device: Manufacturer ID: 0xad, Chip ID: 0xf1 (Hynix NAND 128MiB 3,3V 8-bit)
[    1.050000] Scanning device for bad blocks
[    1.100000] Using static partition definition
[    1.110000] Creating 4 MTD partitions on "nand_mtd":
[    1.110000] 0x00000000-0x00100000 : "u-boot"
[    1.120000] 0x00100000-0x00500000 : "uImage"
[    1.120000] 0x00500000-0x02500000 : "root"
[    1.130000] 0x02500000-0x08000000 : "data"
[    1.130000] ehci_marvell ehci_marvell.70059: Marvell Orion EHCI
[    1.140000] ehci_marvell ehci_marvell.70059: new USB bus registered, assigned bus number 1
[    1.180000] ehci_marvell ehci_marvell.70059: irq 19, io base 0xf1050100
[    1.200000] ehci_marvell ehci_marvell.70059: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
[    1.200000] usb usb1: configuration #1 chosen from 1 choice
[    1.210000] hub 1-0:1.0: USB hub found
[    1.210000] hub 1-0:1.0: 1 port detected
[    1.330000] USB Universal Host Controller Interface driver v3.0
[    1.610000] usb 1-1: new high speed USB device using ehci_marvell and address 2
[    1.760000] usb 1-1: configuration #1 chosen from 1 choice
[    1.760000] hub 1-1:1.0: USB hub found
[    1.770000] hub 1-1:1.0: 4 ports detected
[    1.880000] usbcore: registered new interface driver usblp
[    1.880000] drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
[    1.890000] Initializing USB Mass Storage driver...
[    1.890000] usbcore: registered new interface driver usb-storage
[    1.900000] USB Mass Storage support registered.
[    1.910000] mice: PS/2 mouse device common for all mice
[    1.910000] i2c /dev entries driver
[    1.910000] Linux telephony interface: v1.00
[    1.920000] md: linear personality registered for level -1
[    1.920000] md: raid0 personality registered for level 0
[    1.930000] md: raid1 personality registered for level 1
[    2.100000] raid6: int32x1     97 MB/s
[    2.270000] raid6: int32x2    114 MB/s
[    2.440000] raid6: int32x4    122 MB/s
[    2.610000] raid6: int32x8    110 MB/s
[    2.610000] raid6: using algorithm int32x4 (122 MB/s)
[    2.610000] md: raid6 personality registered for level 6
[    2.620000] md: raid5 personality registered for level 5
[    2.620000] md: raid4 personality registered for level 4
[    2.630000] raid5: measuring checksumming speed
[    2.680000]    arm4regs  :  1084.000 MB/sec
[    2.730000]    8regs     :   754.800 MB/sec
[    2.780000]    32regs    :   900.000 MB/sec
[    2.780000] raid5: using function: arm4regs (1084.000 MB/sec)
[    2.790000] device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised: dm-devel@redhat.com
[    2.790000] dm_crypt using the OCF package.
[    2.800000] sdhci: Secure Digital Host Controller Interface driver
[    2.800000] sdhci: Copyright(c) Pierre Ossman
[    2.810000] usbcore: registered new interface driver usbhid
[    2.810000] drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
[    2.820000] TCP cubic registered
[    2.820000] NET: Registered protocol family 1
[    2.830000] NET: Registered protocol family 17
[    2.830000] md: Autodetecting RAID arrays.
[    2.840000] md: autorun ...
[    2.840000] md: ... autorun DONE.
[    3.070000] VFS: Mounted root (jffs2 filesystem) readonly.
[    3.070000] Freeing init memory: 124K
[    3.070000] Warning: unable to open an initial console.
[    3.080000] Kernel panic - not syncing: No init found.  Try passing init= option to kernel.
[    3.090000] Scheduling watchdog timeout to force reboot...


U-Boot 1.1.4 (Sep 28 2009 - 11:55:23) Cloud Engines v2.0 (3.4.16)

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 00690D60

Soc: 88F6281 A0 (DDR2)
CPU running @ 1200Mhz L2 running @ 400Mhz
SysClock = 400Mhz , TClock = 200Mhz 

DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000   size 256MB 
DRAM Total size 256MB  16bit width
Flash:  0 kB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:128 MB

CPU : Marvell Feroceon (Rev 1)
CLOUD ENGINES BOARD: PPV2

Streaming disabled 
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
Net:   egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  0 

NAND read: device 0 offset 0x100000, size 0x200000

Reading data from 0x2ff800 -- 100% complete.
 2097152 bytes read: OK
## Booting image at 00800000 ...
   Image Name:   Linux-2.6.22.18
   Created:      2010-10-19  23:05:02 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1979140 Bytes =  1.9 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux............................................................................................................................ done, booting the kernel.
[    0.000000] Linux version 2.6.22.18 (bdietrich@buildman) (gcc version 4.2.1) #81 Tue Oct 19 16:05:00 PDT 2010
[    0.000000] CPU: ARM926EJ-S [56251311] revision 1 (ARMv5TE), cr=00053177
[    0.000000] Machine: Feroceon-KW
[    0.000000] Using UBoot passing parameters structure
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] CPU0: D VIVT write-back cache
[    0.000000] CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
[    0.000000] CPU0: D cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
[    0.000000] Built 1 zonelists.  Total pages: 65024
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/mtdblock2 ro
[    0.000000] PID hash table entries: 1024 (order: 10, 4096 bytes)
[    0.000000] Console: colour dummy device 80x30
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.010000] Memory: 256MB 0MB 0MB 0MB = 256MB total
[    0.010000] Memory: 255872KB available (3592K code, 253K data, 124K init)
[    0.250000] Mount-cache hash table entries: 512
[    0.250000] CPU: Testing write buffer coherency: ok
[    0.250000] NET: Registered protocol family 16
[    0.250000] 
[    0.250000] CPU Interface
[    0.250000] -------------
[    0.250000] SDRAM_CS0 ....base 00000000, size 256MB 
[    0.250000] SDRAM_CS1 ....disable
[    0.250000] SDRAM_CS2 ....disable
[    0.250000] SDRAM_CS3 ....disable
[    0.250000] PEX0_MEM ....base e8000000, size 128MB 
[    0.250000] PEX0_IO ....base f2000000, size   1MB 
[    0.250000] INTER_REGS ....base f1000000, size   1MB 
[    0.250000] NFLASH_CS ....base fa000000, size   2MB 
[    0.250000] SPI_CS ....base f4000000, size  16MB 
[    0.250000] BOOT_ROM_CS ....no such
[    0.250000] DEV_BOOTCS ....no such
[    0.250000] CRYPT_ENG ....base f0000000, size   2MB 
[    0.250000] 
[    0.250000]   Marvell Development Board (LSP Version KW_LSP_4.2.7_patch21_with_rx_desc_tuned)-- SHEEVA PLUG  Soc: 88F6281 A0 LE
[    0.250000] 
[    0.250000]  Detected Tclk 200000000 and SysClk 400000000 
[    0.250000] MV Buttons Device Load
[    0.250000] Marvell USB EHCI Host controller #0: c0652600
[    0.750000] PEX0 interface detected no Link.
[    0.750000] PCI: bus0: Fast back to back transfers enabled
[    0.750000] SCSI subsystem initialized
[    0.750000] usbcore: registered new interface driver usbfs
[    0.750000] usbcore: registered new interface driver hub
[    0.750000] usbcore: registered new device driver usb
[    0.750000] NET: Registered protocol family 2
[    0.760000] Time: kw_clocksource clocksource has been installed.
[    0.850000] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.850000] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[    0.850000] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[    0.850000] TCP: Hash tables configured (established 8192 bind 8192)
[    0.850000] TCP reno registered
[    0.880000] RTC has been updated!!!
[    0.880000] RTC registered
[    0.880000] Use the XOR engines (acceleration) for enhancing the following functions:
[    0.880000]   o RAID 5 Xor calculation
[    0.880000]   o kernel memcpy
[    0.880000]   o kenrel memzero
[    0.880000] Number of XOR engines to use: 4
[    0.880000] cesadev_init(c00117b0)
[    0.880000] mvCesaInit: sessions=640, queue=64, pSram=f0000000
[    0.880000] MV Buttons Driver Load
[    0.880000] squashfs: version 3.3 (2007/10/31) Phillip Lougher
[    0.880000] squashfs: LZMA suppport for slax.org by jro
[    0.880000] JFFS2 version 2.2. (NAND) أ‚آ© 2001-2006 Red Hat, Inc.
[    0.880000] io scheduler noop registered
[    0.880000] io scheduler anticipatory registered (default)
[    0.900000] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
[    0.900000] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
[    0.910000] RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
[    0.920000] Loading Marvell Ethernet Driver:
[    0.920000]   o Cached descriptors in DRAM
[    0.920000]   o DRAM SW cache-coherency
[    0.930000]   o Single RX Queue support - ETH_DEF_RXQ=0
[    0.930000]   o Single TX Queue support - ETH_DEF_TXQ=0
[    0.940000]   o TCP segmentation offload enabled
[    0.940000]   o Receive checksum offload enabled
[    0.950000]   o Transmit checksum offload enabled
[    0.950000]   o Network Fast Processing (Routing) supported
[    0.960000]   o Driver ERROR statistics enabled
[    0.960000]   o Driver INFO statistics enabled
[    0.970000]   o Proc tool API enabled
[    0.970000]   o Rx descripors: q0=128
[    0.970000]   o Tx descripors: q0=532
[    0.980000]   o Loading network interface(s):
[    0.990000]     o eth0, ifindex = 1, GbE port = 0
[    0.990000]     o eth1, ifindex = 2, GbE port = 1
[    1.000000] 
[    1.000000] mvFpRuleDb (cfdf6000): 2048 entries, 8192 bytes
[    1.000000] Intel(R) PRO/1000 Network Driver - version 7.3.20-k2-NAPI
[    1.010000] Copyright (c) 1999-2006 Intel Corporation.
[    1.020000] e100: Intel(R) PRO/100 Network Driver, 3.5.17-k4-NAPI
[    1.020000] e100: Copyright(c) 1999-2006 Intel Corporation
[    1.030000] 
[    1.030000] Warning Sata is Powered Off
[    1.030000] NFTL driver: nftlcore.c $Revision: 1.98 $, nftlmount.c $Revision: 1.41 $
[    1.040000] NAND device: Manufacturer ID: 0xad, Chip ID: 0xf1 (Hynix NAND 128MiB 3,3V 8-bit)
[    1.050000] Scanning device for bad blocks
[    1.100000] Using static partition definition
[    1.110000] Creating 4 MTD partitions on "nand_mtd":
[    1.110000] 0x00000000-0x00100000 : "u-boot"
[    1.120000] 0x00100000-0x00500000 : "uImage"
[    1.120000] 0x00500000-0x02500000 : "root"
[    1.130000] 0x02500000-0x08000000 : "data"
[    1.130000] ehci_marvell ehci_marvell.70059: Marvell Orion EHCI
[    1.140000] ehci_marvell ehci_marvell.70059: new USB bus registered, assigned bus number 1
[    1.180000] ehci_marvell ehci_marvell.70059: irq 19, io base 0xf1050100
[    1.200000] ehci_marvell ehci_marvell.70059: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
[    1.200000] usb usb1: configuration #1 chosen from 1 choice
[    1.210000] hub 1-0:1.0: USB hub found
[    1.210000] hub 1-0:1.0: 1 port detected
[    1.330000] USB Universal Host Controller Interface driver v3.0
[    1.610000] usb 1-1: new high speed USB device using ehci_marvell and address 2
[    1.760000] usb 1-1: configuration #1 chosen from 1 choice
[    1.760000] hub 1-1:1.0: USB hub found
[    1.770000] hub 1-1:1.0: 4 ports detected
[    1.880000] usbcore: registered new interface driver usblp
[    1.880000] drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
[    1.890000] Initializing USB Mass Storage driver...
[    1.890000] usbcore: registered new interface driver usb-storage
[    1.900000] USB Mass Storage support registered.
[    1.910000] mice: PS/2 mouse device common for all mice
[    1.910000] i2c /dev entries driver
[    1.910000] Linux telephony interface: v1.00
[    1.920000] md: linear personality registered for level -1
[    1.920000] md: raid0 personality registered for level 0
[    1.930000] md: raid1 personality registered for level 1
[    2.100000] raid6: int32x1     97 MB/s
[    2.270000] raid6: int32x2    114 MB/s
[    2.440000] raid6: int32x4    122 MB/s
[    2.610000] raid6: int32x8    110 MB/s
[    2.610000] raid6: using algorithm int32x4 (122 MB/s)
[    2.610000] md: raid6 personality registered for level 6
[    2.620000] md: raid5 personality registered for level 5
[    2.620000] md: raid4 personality registered for level 4
[    2.630000] raid5: measuring checksumming speed
[    2.680000]    arm4regs  :  1071.600 MB/sec
[    2.730000]    8regs     :   754.800 MB/sec
[    2.780000]    32regs    :   900.000 MB/sec
[    2.780000] raid5: using function: arm4regs (1071.600 MB/sec)
[    2.790000] device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised: dm-devel@redhat.com
[    2.790000] dm_crypt using the OCF package.
[    2.800000] sdhci: Secure Digital Host Controller Interface driver
[    2.800000] sdhci: Copyright(c) Pierre Ossman
[    2.810000] usbcore: registered new interface driver usbhid
[    2.810000] drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
[    2.820000] TCP cubic registered
[    2.820000] NET: Registered protocol family 1
[    2.830000] NET: Registered protocol family 17
[    2.830000] md: Autodetecting RAID arrays.
[    2.840000] md: autorun ...
[    2.840000] md: ... autorun DONE.
[    3.070000] VFS: Mounted root (jffs2 filesystem) readonly.
[    3.070000] Freeing init memory: 124K
[    3.070000] Warning: unable to open an initial console.
[    3.080000] Kernel panic - not syncing: No init found.  Try passing init= option to kernel.
[    3.090000] Scheduling watchdog timeout to force reboot...


U-Boot 1.1.4 (Sep 28 2009 - 11:55:23) Cloud Engines v2.0 (3.4.16)

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 00690D60

Soc: 88F6281 A0 (DDR2)
CPU running @ 1200Mhz L2 running @ 400Mhz
SysClock = 400Mhz , TClock = 200Mhz 

DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000   size 256MB 
DRAM Total size 256MB  16bit width
Flash:  0 kB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:128 MB

CPU : Marvell Feroceon (Rev 1)
CLOUD ENGINES BOARD: PPV2

Streaming disabled 
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
Net:   egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  0 
CE>> 
CE>> 
CE>>


now i need to know how to fix this issue to run ARM on this box or to return to the default pogoplug image.

Waiting for your help

thanks

newer uboot for pogoplug series 4? (2 replies)

$
0
0
Hey guys.
I have been very happy with my plug since I made the change to Debian, and have not had too many issues once I had it set up. Unfortunately, it seems that the system is very temperamental.
My series 4 has had some issues since the last update was released a few weeks ago.
I loaded it up the first time and it seemed to work well. I wanted to make a working backup that was tailored to my apps, twonky server, webmin, my NFS shares etc.
After reinstalling the USB to the plug, it never seemed to work quite right. I think the uboot may be part of the problem.
I have my variables set to boot a rootfs drive, but it seems if there is an image on any of the drives installed that it gets confused. My netconsole shows no errors and the device boots to a green led,but doesn't show up in the network and is all but invisible.
I can reset the USB completely and start over, but each time when I get my two USB media drives plugged in, things go haywire again.
I see some talk about updated uboots, but haven't seen anything specifically about the series 4 that has been established as the defined version to use.
Can someone point me in the right direction? I think it had to be a simple solution but I have not found it yet.
Thanks again.

Dump flash contents through u-boot (no replies)

$
0
0
Hi guys,

I've got a goflex net which I've recently had to recover and whilst I had some dumps, I've no idea of their origin as my original ones proved corrupt.

I've also got a 2nd goflex net which is sat in the box, still sealed and unused. As this firmware hasn't even been booted, I'm trying to think of a way of dumping the firmware in it's current state, through the uboot prompt. Although I'm pretty sure I know how to dump the flash, I'm not certain how I can get the dump off the goflex net through uboot.

From my past experiences when I did a lot of playing with the goflex, I seem to remember the USB/Sata ports are useless in uboot, which I'm guessing leaves tftp as the method of transferring the files. But can the goflex act as a server so I can pull the files from it?

I guess one other option would be to flash a new boot loader and boot from a USB stick with debian or so forth? Mtd1 and mtd2 are the more important dumps for this I feel.

Pogoplug E02 - Cold boot works but reboot doesn't (5 replies)

$
0
0
I have a Pogoplug E02 and I installed uBoot through the script http://projects.doozan.com/uboot/install_uboot_mtd0.sh

I'm trying to get ArchLinux running from a 4TB Western Digital MyBook, so I updated uBoot to the 2013-10 version on the forum so that I could use GPT partition table. (I initially tried setting up a hybrid MBR but kept running into issues so I went with the updated uBoot.)

Basically, from a cold boot, it will boot fine from the usb hard drive but never from a reboot. After reboot it will always boot into the rescue system. I tried several of the suggestions on the forum like lowering bootdelay and stopping and starting usb before usb_scan. Nothing seems to work and I could use some help.

The following is the uBoot netconsole output after a cold boot:
U-Boot 2013.10 (Feb 21 2014 - 19:35:02)-tld-2
Pogo E02
gcc (Debian 4.6.3-14) 4.6.3
GNU ld (GNU Binutils for Debian) 2.22
Hit any key to stop autoboot:  0 
(Re)start USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
       scanning usb for storage devices... READ_CAP ERROR
EHCI timed out on TD - token=0xbe008d80
EHCI timed out on TD - token=0xbe008d80
EHCI timed out on TD - token=0xbe008d80
EHCI timed out on TD - token=0xbe008d80
EHCI timed out on TD - token=0xbe008d80
EHCI timed out on TD - token=0xbe008d80
2 Storage Device(s) found
** File not found /rescueme **
** Unrecognized filesystem type **
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    129024 bytes
UBI: smallest flash I/O unit:    2048
UBI: sub-page size:              512
UBI: VID header offset:          512 (aligned 512)
UBI: data offset:                2048
UBI: attached mtd1 to ubi0
UBI: MTD device name:            "mtd=3"
UBI: MTD device size:            91 MiB
UBI: number of good PEBs:        727
UBI: number of bad PEBs:         1
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     0
UBI: available PEBs:             716
UBI: total number of reserved PEBs: 11
UBI: number of PEBs reserved for bad PEB handling: 7
UBI: max/mean erase counter: 1/1
UBIFS error (pid 0): ubifs_get_sb: cannot open "rootfs", error -22
UBIFS error (pid 0): ubifs_mount: Error reading superblock on volume 'rootfs' errno=-22!

ubifsmount - mount UBIFS volume

Usage:
ubifsmount <volume-name>
    - mount 'volume-name' volume
1 bytes read in 126 ms (0 Bytes/s)
Found bootable drive on usb 0:1
3931528 bytes read in 259 ms (14.5 MiB/s)
** File not found /boot/uInitrd **
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-3.13.6-1-ARCH
   Created:      2014-03-08   9:06:30 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3931464 Bytes = 3.7 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK


Starting kernel ...

And this is after shutdown -r now
U-Boot 2013.10 (Feb 21 2014 - 19:35:02)-tld-2
Pogo E02
gcc (Debian 4.6.3-14) 4.6.3
GNU ld (GNU Binutils for Debian) 2.22
Hit any key to stop autoboot:  0 
(Re)start USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
       scanning usb for storage devices... Device NOT ready
   Request Sense returned 02 04 01
READ_CAP ERROR
EHCI timed out on TD - token=0xbe008d80
EHCI timed out on TD - token=0xbe008d80
EHCI timed out on TD - token=0xbe008d80
EHCI timed out on TD - token=0xbe008d80
EHCI timed out on TD - token=0xbe008d80
EHCI timed out on TD - token=0xbe008d80
1 Storage Device(s) found
** No partition table - usb 0 **
** No partition table - usb 0 **
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    129024 bytes
UBI: smallest flash I/O unit:    2048
UBI: sub-page size:              512
UBI: VID header offset:          512 (aligned 512)
UBI: data offset:                2048
UBI: attached mtd1 to ubi0
UBI: MTD device name:            "mtd=3"
UBI: MTD device size:            91 MiB
UBI: number of good PEBs:        727
UBI: number of bad PEBs:         1
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     0
UBI: available PEBs:             716
UBI: total number of reserved PEBs: 11
UBI: number of PEBs reserved for bad PEB handling: 7
UBI: max/mean erase counter: 1/1
UBIFS error (pid 0): ubifs_get_sb: cannot open "rootfs", error -22
UBIFS error (pid 0): ubifs_mount: Error reading superblock on volume 'rootfs' errno=-22!

ubifsmount - mount UBIFS volume

Usage:
ubifsmount <volume-name>
    - mount 'volume-name' volume
** No partition table - usb 0 **
** Bad device usb 1 **
** Bad device usb 2 **
** Bad device usb 3 **
** No partition table - usb 0 **
** No partition table - usb 0 **
Wrong Image Format for bootm command
ERROR: can't get kernel image!
stopping USB..

NAND read: device 0 offset 0x100000, size 0x400000
 4194304 bytes read: OK
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-3.3.2-kirkwide
   Created:      2012-10-29  22:52:12 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3627768 Bytes = 3.5 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK


Starting kernel ...

The main difference seems to be right after it scans for storage devices it states
Device NOT ready
Request Sense returned 02 04 01


The following is my uBoot settings
# fw_printenv
arcNumber=2097
baudrate=115200
console=ttyS0,115200
ethact=egiga0
ethaddr=00:25:31:04:85:56
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.1.137
led_error=orange blinking
led_exit=green off
led_init=green blinking
machid=dd6
mainlineLinux=yes
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
ncip=192.168.1.22
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.22
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_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
bootcmd=usb start; run force_rescue_bootcmd; run ubifs_bootcmd; run usb_bootcmd; usb stop; run rescue_bootcmd; run pogo_bootcmd; reset
bootdelay=2
usb_init=run usb_scan

Any thoughts on what I can try?

Thanks in advance!

Davy Gravy's uboot for series 4 mmc card (5 replies)

$
0
0
Having small issues with a fresh series 4 I picked up from adorama. Nothing too bad, followed instructions that are linked to my user name on the boards and didn't have any issues changing the environment variables for the series 4(arc number and so on).
What I trying to do is set up a wireless nas. I am using a ralink USB device, don't recall the model, but its one of the common chipsets. I managed to get that working pretty well but have a few issues to iron out there.
The problem I find now is my SD card is not recognized every so often or displays corruption. I have net console installed, so its only a matter of resetting the loader, but it takes a few times to catch it just right.
Any insight on this issue?

Upgrade older PogoPlug Mobile flash to newer? (8 replies)

$
0
0
Hi,

I've come a long way to making NetBSD easy to install on PogoPlugs thanks to a lot of help from bodhi. My HOW-TO can be found here:

Install NetBSD on a PogoPlug

One of the things I've noticed is that there are at least two versions of uboot which come with PogoPlug Mobiles. One allows for conditionals (if, then, fi) and can be selectively booted into GNU/Linux depending on whether another machine is on the network at a specific address, but the older version does not have conditionals and reports this:
Hit any key to stop autoboot:  0 
Unknown command 'if' - try 'help'
Unknown command 'then' - try 'help'
This command can be used only if enaMonExt is set!
A version which works is:
U-Boot 1.1.4 (Oct  1 2011 - 12:21:35) Cloud Engines 1.1.2 (3.4.27)
A version which doesn't have conditionals is:
U-Boot 1.1.4 (Jul 16 2009 - 21:02:16) Cloud Engines (3.4.16)
Could someone tell me the simplest way to make a backup copy of the newer flash and write it to the flash of an older Mobile, either in GNU/Linux or via u-boot using tftp?

Boot Problems Pogoplug E02 (no replies)

$
0
0
Hello guys,

I have run into a problem with my Pogoplug. Until yesterday I was running the Arch Linux build which worked perfectly for me. But yesterday I tried to reboot and now I can't ssh into my system anymore.
So I started to reinstall Arch with these instructions: http://archlinuxarm.org/platforms/armv5/pogoplug-v2-pinkgray.
The installation works flawlessly but after "/sbin/reboot/" I am not able to get a ping from the Pogoplug.

I also activated netconsole and it gives me the following output:

U-Boot 2011.12 (Feb 20 2012 - 21:21:59)
Pogoplug E02
arm-none-linux-gnueabi-gcc (Sourcery G++ Lite 2009q3-67) 4.4.1
GNU ld (Sourcery G++ Lite 2009q3-67) 2.19.51.20090709
Hit any key to stop autoboot:  0
(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
Loading file "/rescueme" from usb device 0:1 (usbda1)
** File not found /rescueme
reading /rescueme.txt

** Unable to read "/rescueme.txt" from usb 0:1 **
Creating 1 MTD partitions on "nand0":
0x000002500000-0x000008000000 : "mtd=3"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    129024 bytes
UBI: smallest flash I/O unit:    2048
UBI: sub-page size:              512
UBI: VID header offset:          512 (aligned 512)
UBI: data offset:                2048
UBI: fixable bit-flip detected at PEB 77
UBI: attached mtd1 to ubi0
UBI: MTD device name:            "mtd=3"
UBI: MTD device size:            91 MiB
UBI: number of good PEBs:        728
UBI: number of bad PEBs:         0
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     0
UBI: available PEBs:             717
UBI: total number of reserved PEBs: 11
UBI: number of PEBs reserved for bad PEB handling: 7
UBI: max/mean erase counter: 1/1
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:rootfs", error -19
Error reading superblock on volume 'ubi:rootfs'!
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
1 bytes read
Found bootable drive on usb 0:1
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
3148740 bytes read
Loading file "/boot/uInitrd" from usb device 0:1 (usbda1)
** File not found /boot/uInitrd
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-3.1.10-32-ARCH
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3148676 Bytes = 3 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Is this the problem? And when yes, how do I resolve it?

UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:rootfs", error -19
Error reading superblock on volume 'ubi:rootfs'!


Thank you for reading.

Best regards
mofeywalker

Pogoplug E02 won't boot without archlinux drive connected (1 reply)

$
0
0
Hello,

I've been successfully running archlinux for a while now on my pogoplug E02. I wanted to redo my whole drive and reinstall archlinux. So I powered down, disconnected the drive, and tried to power up without any disks connected. The problem is now all I get is a blinking green light. I've waited at least 10 minutes to see if it would go solid green but it never did.

Just wondering if someone could guide me on the steps needed to fix it. If a serial console is needed I do have the parts to make one.

Thanks in advance!

Dockstar Jtag Help please (no replies)

$
0
0
Hello Here is my problem
My Dockstar is connected in serial (CA-42) with Putty on Windows 7

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>> setenv ipaddr 192.168.0.222
u-boot>> setenv serverip 192.168.0.3
u-boot>> tftp 0x800000 ce_kernel_redstone_v63.img
Using egiga0 device
TFTP from server 192.168.0.3; our IP address is 192.168.0.222
Filename 'ce_kernel_redstone_v63.img'.
Load address: 0x800000
Loading: T T T T T T T T T T
Retry count exceeded; starting again
Using egiga0 device
TFTP from server 192.168.0.3; our IP address is 192.168.0.222
Filename 'ce_kernel_redstone_v63.img'.
Load address: 0x800000
Loading: T T T T T T T T T T
Retry count exceeded; starting again

or should I put the file for putty ce_kernel_redstone_v63.img found?
because I have all mi desktop but I do not feel that is
or that do not have the AC problem?
thank you

Ox820 device tree (30 replies)

$
0
0
Hi,

I can't find proper device tree for an Ox820 device anywhere. The device is like Pogoplug V3 except double sata ports.

Is it possible to get proper information for the device tree somewhere inside an old non-FDT kernel?

Need help booting to SD card for Pogo V4, stuck at "Starting kernel ..." (11 replies)

$
0
0
I have the Pogo V4-A1-05 (which should be the same as Pogo V4-A1-01)

I collected and followed the instructions to boot up via the SD card. The SD card has the ArchLinux image from http://archlinuxarm.org/os/ArchLinuxARM-armv5te-latest.tar.gz. This image booted fine with the USB drive.

I installed davy's uboot and Jeff's envs according to Bodhi's instructions here:
http://forum.doozan.com/read.php?2,11663

I have netconsole working. After getting the netconsole prompt, I manually entered each step tracing through the bootcmd.

I called:
> mmc init;
> mmc init;
> run mmc_set_bootargs;
> run mmc_boot;

I get the following output after calling mmc_boot:

-----------------------------------------------------------------------------
Loading file "/boot/uImage" from mmc device 0:1 (xxa1)

3124268 bytes read
Loading file "/boot/uInitrd" from mmc device 0:1 (xxa1)
** File not found /boot/uInitrd
## Booting kernel from Legacy Image at 00800000 ...
Image Name: Linux-3.1.10-33-ARCH
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3124204 Bytes = 3 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Using machid 0xf78 from environment

Starting kernel ...
-----------------------------------------------------------------------------

Here's my env:
http://pastie.org/private/hxfydyksqrxse5jleeiaqg
(Ignore the "mtd" variable; I messed up when setting "mtdparts")

The Pogo has a stable green light (non-blinking), but I cannot ssh or ping into the machine. It has a static IP.

Is there a recommended rootfs image that I can install on the SD card? It seems uboot recognizes the card and can read the image, but for some reason it can't start the kernel...

What could be wrong? Any ideas on how I can debug this further?

How does U-boot set system frequency (2 replies)

$
0
0
Hi All,

As U-boot first run, I imagine it will set system frequency at an early stage. Could anyone point me to where U-boot does it? I tried to look for it but couldn't find it.

Thanks,
Wei

[How To] Use U-Boot SNTP (3 replies)

$
0
0
As requested by a forum member, here is the instruction how to setup SNTP using the new U-Boot.

The envs can be setup either in u-boot console or in Linux . In this example, my router local IP is 192.168.0.1, and the NTP server is montpelier.caltech.edu.

1. Setup network variables
setenv dnsip 192.168.0.1
setenv gatewayip 192.168.0.1
setenv netmask 255.255.255.0

2. Test the internet connection using Google IP address:
ping 8.8.8.8
Using egiga0 device
host 8.8.8.8 is alive

3. Lookup Caltech IP. If you already know other NTP server IP address to use then use that IP.
dns montpelier.caltech.edu
192.12.19.20

4. Get date time from Caltech
sntp 192.12.19.20
Date: 2014-02-09 Time: 7:37:35


The boot time can then be stored in u-boot env variable and used in Linux with fw_printenv. Or it could also be passed to Linux kernel with a custom param:
usb_set_bootargs=setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts $usb_custom_params

2013.10 U-Boot for Pogoplug V3 (OXNAS) (no replies)

$
0
0
2013.10 uBoot for Pogoplug V3 (OXNAS)

I'm starting this as a thread on U-Boot for Pogoplug V3. This U-Boot version was devleloped by kref/navym and available at kref GitHub u-boot-oxnas repo.

And here you can find my GitHub u-boot-oxnas repo (fork from kref's). I've added the booting progress LEDs to this code base.

At Arch site, there is long working thread: A new kernel for Oxnas, where there are a lot of good information (i.e. hints by navym, ingmar_k, shv, and many others). But I hope this thread would be an appropriate forum to ask U-Boot related question/issues that are Debian-centric.

Please check back here for u-boot images and flashing instruction in the near future.

Bricked Pogoplug V4-A3-01. JTAG? (9 replies)

$
0
0
Hello everyone, I'm new to you forum but I have been messing with Pogoplugs for a while. I have been fortunate enough to not need to use JTAG on any of them until last night. I was flashing the NAND boot sector when the power to the device was cut. Initially I turned power back on and nothing happened. No serial connection, no lights, nothing! After power cycling it a few times I noticed the ethernet light would flash as soon as I plogged it in, then go out and again nothing. I read a post in the forums about using kwtools to try and boot it. So far that has had no effect. I read a post somewhere that said it may take a while for kwtools to get a response from the device, so I left it overnight. Unfortunately this morning still no results.... well kinda. Now when I power cycle the device the ethernet lights come on and stay on as if it was up and running. The data light even flashes along with the light on the router. But there is still no serial connection! I don't know where to go from here. Like I said I have never used JTAG before and I cant find anything on google about JTAG on the Pogoplug V4.

The good news is that this is not a critical project. It has just become something to figure out. Any help would be very welcome.

Thanks,
Kevin

uboot not loading/boot/uImage for archlinux (10 replies)

$
0
0
I am running davy's uboot to boot from an SD card. It works fine with bodhi's Debian rootfs. When I use an ArchLinux rootfs, it has trouble finding files, even though the files are there when I put the SD card into a separate Linux machine.

Here is what I see in netconsole:
Pogov4> ext2ls mmc 0:1 /

ext2ls mmc 0:1 /
<DIR>       4096 .
<DIR>       4096 ..
<DIR>      16384 lost+found
<SYM>          7 bin
<DIR>          0 boot
<DIR>       4096 dev
<DIR>          0 etc
<DIR>       4096 home
<SYM>          7 lib
<DIR>      98306 mnt
<DIR>       4096 opt
<DIR>       4096 proc
<DIR>       4096 root
<DIR>       4096 run
<SYM>          7 sbin
<DIR>          0 srv
<DIR>       4096 sys
<DIR>          0 tmp
<DIR>          0 usr
<DIR>       4096 var
Pogov4> ext2ls mmc 0:1 /boot          # empty directory?!
ext2ls mmc 0:1 /boot

Any idea why this bootloader cannot find the /boot/uImage file?

Certain directories are fine, but others have no content even though I verified on a separate box that the SD card does have content.

Pogov4> ext2ls mmc 0:1 /root          # this is fine, has content

ext2ls mmc 0:1 /root
<DIR>       4096 .
<DIR>       4096 ..
<DIR>       4096 empty
<DIR>       4096 games
<DIR>       4096 opt
<DIR>       4096 spool
<SYM>         10 mail
<SYM>          6 run
<DIR>       4096 tmp
<DIR>       4096 local
<DIR>       4096 log
<DIR>       4096 lib
<DIR>       4096 cache
<SYM>         11 lock
<DIR>       4096 db
Pogov4> ext2ls mmc 0:1 /usr           # no content?!
ext2ls mmc 0:1 /usr
Pogov4> ext2ls mmc 0:1 /dev           # no content?!
ext2ls mmc 0:1 /dev
<DIR>       4096 .
<DIR>       4096 ..

Pogov4> ext2load mmc 0:1 /boot/uImage # cannot find /boot/uImage?!
ext2load mmc 0:1 /boot/uImage
** No boot file defined **

If I put in an SD card with Debian, then it works fine.

Any ideas? Does anyone have a different ArchLinux rootfs I can try?

Help, Pogogplug E02 , No LED,serial cable connected ,what next? (13 replies)

$
0
0
Hi,
I messed up my pogoplug E02 while installing Archlinux and updationg the Kirkwood files somewhere along the line. No LED lights on fornt panel but I did connect an Rs232/usb cable to the jtag connector on the box and was able to get the following:

U-Boot 2011.12 (Feb 20 2012 - 21:21:59)
Pogoplug E02

SoC: Kirkwood 88F6281_A0
DRAM: 256 MiB
WARNING: Caches not enabled
NAND: 128 MiB
In: serial
Out: serial
Err: serial
Net: egiga0
88E1116 Initialized on egiga0
Hit any key to stop autoboot: 0
No link on egiga0
Wrong Image Format for bootm command
ERROR: can't get kernel image!
u-boot>>

What can I do next to revive this box if possible. I do have the original Pogoplug MTxx files that I backed up before attempting the mod if that helps. I'd really like to try and revive this machine instead of tosssing it out.

Any help of direction would be appreciated.

Thank you

[How To] Set U-Boot envs for USB booting with Kirkwood plugs (1 reply)

$
0
0
This is a basic but completed set of U-Boot environment variables that is good for booting Debian/Arch using USB. Please be aware that mistakes in changing U-Boot envs could block you out the box, so please use this as a guide only if you have serial console or netconsole.

1. U-Boot version must be one that was installed by Jeff's script, or newer U-Boot that was manually installed (stock U-Boot won't work).

2. And the kernel on the USB rootfs must support your plug. You can find it here: Linux Kernel 3.14.0 Kirkwood package and rootfs (Non Flattened Device Tree).

3. This particular example is for the Pogo V4/Mobile. But it can be adjusted for any Kirkwood plugs. Note these 2variables must match your Kirkwood plug (3960 and f78 are for Pogo V4/Mobile)
arcNumber=3960
machid=f78

4. The ethaddr needs to be the MAC addr that on the sticker for this specific plug:
ethaddr=00:xx:x:xx:xx:xx

5. mtdparts must match what is for your Kirkwood plug, this is the Pogo V4/Mobile:
mtdparts=mtdparts=orion_nand:2M(u-boot),3M(uImage),3M(uImage2),8M(failsafe),112M(root)


6. The partition that contains the rootfs on USB must be labeled as rootfs (use tune2fs -L rootfs /dev/sda1, for example). This partition also must be formatted as Ext3.

The completed set of U-Boot envs:
baudrate=115200
bootcmd=run bootcmd_usb; usb stop; reset
bootcmd_usb=run usb_init; run usb_load_uimage; run set_bootargs_usb; run usb_boot;
bootdelay=3
console=ttyS0,115200
ethact=egiga0
ethaddr=00:xx:x:xx:xx:xx
led_error=orange blinking
led_exit=green off
led_init=green blinking
mainlineLinux=yes
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:2M(u-boot),3M(uImage),3M(uImage2),8M(failsafe),112M(root)
partition=nand0,2
set_bootargs_usb=setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts
stderr=serial
stdin=serial
stdout=serial
usb_boot=if ext2load usb $usb_device 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000;else bootm 0x800000;fi;
usb_device=0:1
usb_init=usb start
usb_load_uimage=mw 0x800000 0 1; ext2load usb $usb_device 0x800000 /boot/uImage
usb_rootdelay=10
arcNumber=3960
machid=f78
usb_root=LABEL=rootfs
usb_rootfstype=ext3

Note that it is just a basic set of envs that works for a single USB drive attached. Jeff's script installs a much more robust set of envs that takes into account different types of environment.
Viewing all 902 articles
Browse latest View live