Upgrade to Death of D3Plug

Ask questions about Arch Linux ARM. Please search before making a new topic.

Upgrade to Death of D3Plug

Postby fis04268 » Sun Aug 11, 2013 7:45 pm

As i got my new D3Plug just in time i was only able to update it before testing.

Now it is back and it looks like upgraded to death.

I was following http://archlinuxarm.org/platforms/armv7 ... s-ui-tabs2 to restore the root filesystem but it does not recognize any USB Stick (8, 16, 32 GB of different vendors). Even trying a small 1GB SD-Card using an USB hub was not successful. Some of the sticks have already been bootable sticks for rescue, test or installation purposes of mostly x86 systems.

Does anyone recognize or know my failure according to the following log?

TIA

Stefan


__ __ _ _
| \/ | __ _ _ ____ _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| | | | (_| | | \ V / __/ | |
|_| |_|\__,_|_| \_/ \___|_|_|
_ _ ____ _
| | | | | __ ) ___ ___ | |_
| | | |___| _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
\___/ |____/ \___/ \___/ \__|
** LOADER **


U-Boot 2009.08-dirty (Jan 16 2013 - 10:08:22) Marvell version: 5.4.4

BootROM:
Version on chip: 2.33
Status: OK
Retries #: 0
Board: RD-88AP510
SoC: MV88F510 Rev 7
CPU: Marvell Sheeva (Rev 5)
CPU @ 933Mhz, L2 @ 466Mhz
DDR3 @ 466Mhz, TClock @ 166Mhz
PEX 0: interface detected no Link.
PEX 1: interface detected no Link.
Write Leveling Results:
CS0, Lane: 0, value: 19
CS0, Lane: 1, value: 13
CS0, Lane: 2, value: 12
CS0, Lane: 3, value: 13
DRAM: 1 GB
CS 0: base 0x00000000 size 1 GB
Addresses 12M - 0M are saved for the U-Boot usage.
SF: Detected MX25L1605D with page size 256, total 2097152 bytes

Streaming disabled
L2 Cache Prefetch disabled
L2 Cache ECC disabled
USB 0: Host Mode
USB 1: Host Mode
Setting VPU power ON.
Setting GPU power ON.
MMC: MV_SDHCI: 0, MV_SDHCI: 1
Net: egiga0 [PRIME]
Hit any key to stop autoboot: 0
Marvell>> setenv bootcmd 'usb start; ext2load usb 0 0x6400000 /boot/uImage; bootm 0x6400000'
Marvell>> setenv bootargs 'console=ttyS0,115200 root=/dev/sda1 rw rootwait pm_disable'
Marvell>> saveenv
Saving Environment to SPI Flash...
Unprotecting flash: [Done]
Erasing 0xc0000 - 0xd0000: [Done]
Writing to SPI flash: [Done]
Protecting flash: [Done]
Marvell>> reset
__ __ _ _
| \/ | __ _ _ ____ _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| | | | (_| | | \ V / __/ | |
|_| |_|\__,_|_| \_/ \___|_|_|
_ _ ____ _
| | | | | __ ) ___ ___ | |_
| | | |___| _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
\___/ |____/ \___/ \___/ \__|
** LOADER **


U-Boot 2009.08-dirty (Jan 16 2013 - 10:08:22) Marvell version: 5.4.4

BootROM:
Version on chip: 2.33
Status: OK
Retries #: 0
Board: RD-88AP510
SoC: MV88F510 Rev 7
CPU: Marvell Sheeva (Rev 5)
CPU @ 933Mhz, L2 @ 466Mhz
DDR3 @ 466Mhz, TClock @ 166Mhz
PEX 0: interface detected no Link.
PEX 1: interface detected no Link.
Write Leveling Results:
CS0, Lane: 0, value: 18
CS0, Lane: 1, value: 13
CS0, Lane: 2, value: 12
CS0, Lane: 3, value: 12
DRAM: 1 GB
CS 0: base 0x00000000 size 1 GB
Addresses 12M - 0M are saved for the U-Boot usage.
SF: Detected MX25L1605D with page size 256, total 2097152 bytes

Streaming disabled
L2 Cache Prefetch disabled
L2 Cache ECC disabled
USB 0: Host Mode
USB 1: Host Mode
Setting VPU power ON.
Setting GPU power ON.
MMC: MV_SDHCI: 0, MV_SDHCI: 1
Net: egiga0 [PRIME]
Hit any key to stop autoboot: 0
(Re)start USB...
USB: Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 2 USB Device(s) found
Waiting for storage device(s) to settle before scanning...
scanning bus for storage devices... Device NOT ready
Request Sense returned 00 00 00
1 Storage Device(s) found
** Bad partition 1 **
Wrong Image Format for bootm command
ERROR: can't get kernel image!
Marvell>>
fis04268
 
Posts: 6
Joined: Sun Aug 11, 2013 6:54 pm

Re: Upgrade to Death of D3Plug

Postby kmihelich » Sun Aug 11, 2013 10:06 pm

You're using the USB 2.0 (white) slot, right? You can't use either of the USB 3.0 (blue) slots.

The first partition is formatted ext2 or ext3?
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Re: Upgrade to Death of D3Plug

Postby fis04268 » Mon Aug 12, 2013 5:55 am

I am using the white USB port with only one ext3 formatted partition /dev/sdb1 on ubuntu. The Arch-linux...tar.gz file is valid, /boot/uImage in in place.

Could it be USB port connectors are mixed up internally? I don't want to open the D3Plug till really necessary.

Is the coloured part a normal behaviour? I also get it for 3 devices on my D2plug.

Waiting for storage device(s) to settle before scanning...
scanning bus for storage devices... Device NOT ready
Request Sense returned 00 00 00

1 Storage Device(s) found
** Bad partition 1 **
Wrong Image Format for bootm command
ERROR: can't get kernel image!
fis04268
 
Posts: 6
Joined: Sun Aug 11, 2013 6:54 pm

Re: Upgrade to Death of D3Plug

Postby kmihelich » Mon Aug 12, 2013 6:00 am

The colored part there does mean it can't access the drive. You might try doing another one or two of the 'usb start' commands from the uboot prompt, see if it's just a timing issue with the drives or something. You can also show partitions with 'usb part' (if I remember correctly) to confirm it's seeing everything right, and then do something like 'ext2ls usb 0' to see if it sees the filesystem. The U-Boot versions on these devices can be a bit temperamental and finicky at times.
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Re: Upgrade to Death of D3Plug

Postby fis04268 » Mon Aug 12, 2013 3:12 pm

Partly solved:

By accident i tried an old external usb harddisk case. This requires two usb ports one for data transfer, one more for power consumption reasons only. Asi assuming a power problem as possibility for my fails before, I was using my laptop as second power source.

Well it was running. I was following the procedure to install an internal SD card.

There are three things not mentioned at all:

- wget is not part of the current root file system tarball. Therefore copy ArchLinuxARM-d3plug-latest.tar.gz to your USB device too.
- you need to login as root with password, just try the common suspect root.
- you get a really naked system, just booting using DHCP, network and ssh support. I was not able to use keyboard, mouse or monitor connected to d3plug. As far as I've seen there is no package installation program like dpkg oder apt-get to support start restauration from scratch.

A package program and a list of all packages to install should be part of ArchLinuxARM-d3plug-latest.tar.gz really!

Well, as d3plug is described as only an evolution step of d2plug, my first try was to use the d2plug root filesystem:

tar zxf /mnt/d2plug-rootfs-20110903.tar.gz -C /
tar: Exiting with failure status due to previous errors

This was a fail. So I've to start from scratch again.

To be continued.
fis04268
 
Posts: 6
Joined: Sun Aug 11, 2013 6:54 pm

Re: Upgrade to Death of D3Plug

Postby kmihelich » Mon Aug 12, 2013 5:48 pm

The root filesystems we distribute were recently regenerated with just the base set of packages, there is no video set up out of the box.

This is a port of Arch Linux, and has all the same things as Arch on x86 including the package management program 'pacman'. If you're familiar with apt, this page will be helpful: https://wiki.archlinux.org/index.php/Pacman_Rosetta

The instructions don't tell you to extract the filesystem tarball to /, please actually read and understand them.
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Re: Upgrade to Death of D3Plug

Postby fis04268 » Mon Aug 12, 2013 7:11 pm

My basic misunderstanding was to see ArchLinux as GlobalScales original root-fs for d3plug. At least it was a good step to recreate my box and I'll surely will have a closer look at it, as it is really small and fast - ideal for my older and less powerfull dreamplugs.
fis04268
 
Posts: 6
Joined: Sun Aug 11, 2013 6:54 pm

Re: Upgrade to Death of D3Plug

Postby kmihelich » Mon Aug 12, 2013 7:21 pm

Ah, no, this distribution isn't the shipping distribution on the plug. Globalscale puts a pretty stripped down and old Debian setup on there by default. It's easy to swap Arch in, however, and that's what the instructions guide you to do. Booting from USB is just the step to achieve that goal and use the MicroSD card inside.

And you might want to open the D3plug anyway, there's an mSATA and mini-PCIe slot waiting for you in there to make use of.
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Re: Upgrade to Death of D3Plug

Postby psychicsaint » Wed Aug 28, 2013 3:21 am

I have also bought the D3Plug and tried to install Arch as per the installation guide.. However my device hangs while booting the kernel.. Is it necessary to upgrade u-boot to support 3.4 linux kernel since the default u-boot on device is 2009.08-dirty Marvell version 5.4.4.. Appreciate any help on this..
psychicsaint
 
Posts: 1
Joined: Wed Aug 28, 2013 3:17 am


Return to User Questions

Who is online

Users browsing this forum: No registered users and 6 guests