TonidoPlug2

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

TonidoPlug2

Postby devr » Thu Sep 15, 2011 7:59 pm

Looks like a new plug is coming.. Actually available to UK and EU folks.

Here is the Blog posting.

And there rather technically sparse product page.

To me it looks like a vendor is finally selling the Marvel Plug Computer 3.0 that was announced earlier this year.

I am psyched, thought i'd share.
devr
 
Posts: 87
Joined: Wed May 11, 2011 12:22 am

Re: TonidoPlug2

Postby pennguin » Tue Nov 08, 2011 1:36 pm

Any news about that? Have anyone found some details about insides such as cpu? Is support from archlinuxARM planned?
pennguin
 
Posts: 9
Joined: Tue Nov 08, 2011 1:33 pm

Re: TonidoPlug2

Postby WarheadsSE » Tue Nov 08, 2011 3:12 pm

Somewhere in the forums, I had a discussion with a fellow that had a TonidoPlug 2... I just can't find it.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: TonidoPlug2

Postby devr » Sun Nov 20, 2011 11:59 pm

Got my TonidoPlug2 this weekend. Figured I kick the tires of the Tonido software... initially I am not overly impressed. Still playing with the hardware, but figured I'd post that the http://archlinuxarm.org/os/ArchLinuxARM ... est.tar.gz does not work on this hardware. Just causes the status led to blink red.

The plug does have access to a 4 pin serial, I just have to make the wire. Once I do that, I can probably report on where it is barfing on boot up.

Until then here is some info, if curious:
$this->bbcode_second_pass_code('', '
# cat /proc/cpuinfo
Processor : Feroceon 88FR131 rev 1 (v5l)
BogoMIPS : 794.62
Features : swp half thumb fastmult edsp
CPU implementer : 0x56
CPU architecture: 5TE
CPU variant : 0x2
CPU part : 0x131
CPU revision : 1

Hardware : Feroceon-KW
Revision : 0000
Serial : 0000000000000000

# dmesg | more
Linux version 2.6.31.8-topkick1281p2-001-004-20101214 (andrew@localhost.localdomain) (gcc version 3.
4.4 (release) (CodeSourcery ARM 2005q3-2)) #3 Wed Jun 22 10:43:05 CST 2011
CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
CPU: VIVT data cache, VIVT instruction cache
Machine: Feroceon-KW

Kernel command line: console=ttyS0,115200;version=topkick1281p2-001-006-20101103 mtdparts=nand_mtd:0
x180000@0(u-boot),0x20000@0x180000(u-boot-env),0x600000@0x200000(uImage),0x1f800000@0x800000(rootfs)
ubi.mtd=3 root=ubi0:rootfs rootfstype=ubifs rootdelay=10
')
devr
 
Posts: 87
Joined: Wed May 11, 2011 12:22 am

Re: TonidoPlug2

Postby kmihelich » Mon Nov 21, 2011 2:04 am

It likely needs some machine init code in the kernel if it's not booting the v5 kernel. Could you give us a print on the uboot environment variables?
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: TonidoPlug2

Postby devr » Mon Nov 21, 2011 2:54 am

Assuming that you wanted me to run "fw_printenv" to give you the uboot variables. Well to do that, I have to have a proper "/etc/fw_env.config". No idea what that should be, but I took a stab at some numbers for that config (after searching around).

$this->bbcode_second_pass_code('', '
# cat /proc/mtd
dev: size erasesize name
mtd0: 00180000 00020000 "u-boot"
mtd1: 00020000 00020000 "u-boot-env"
mtd2: 00600000 00020000 "uImage"
mtd3: 1f800000 00020000 "rootfs"
')

$this->bbcode_second_pass_code('', '
# cat /etc/fw_env.config
# MTD device name Device offset Env. size Flash sector size
#/dev/mtd1 0xa0000 0x70000 0x20000
/dev/mtd1 0x0000 0x20000 0x20000
')

$this->bbcode_second_pass_code('', '
# fw_printenv
baudrate=115200
loads_echo=0
ipaddr=192.168.58.21
serverip=192.168.58.135
rootpath=/mnt/ARM_FS/
netmask=255.255.255.0
run_diag=yes
console=console=ttyS0,115200 mtdparts=nand_mtd:0xc0000@0(uboot)ro,0x1ff00000@0x100000(root)
CASset=min
ethprime=egiga0
bootargs_root=root=/dev/nfs rw
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
ethmtu=1500
mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
yuk_ethaddr=00:00:00:EE:51:81
nandEcc=1bit
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
ethact=egiga0
initializeKernelRamdisk=nand erase clean 0x200000 0x600000; nand write.e 0x1200000 0x200000 0x300000; nand erase clean 0x800000 0x1000000; nand write.e 0x1800000 0x800000 0x800000
initializeUSB=usb start; fatload usb 0 0x1200000 uImage-topkick1281p2-001-003-20101103; fatload usb 0 0x1800000 cpio-initrd-topkick1281p2-v1.0.9.gz
filesize=749F9C
ethaddr=70:f3:95:ff:8a:c8
mtdpartitions=mtdparts=nand_mtd:0x180000@0(u-boot),0x20000@0x180000(u-boot-env),0x600000@0x200000(uImage),0x1f800000@0x800000(rootfs)
bootargs_console=console=ttyS0,115200;version=topkick1281p2-001-006-20101103
bootargs_usb=root=/dev/sda1 rw rootdelay=10
bootcmd_usb=setenv bootargs $(bootargs_console) $(mtdpartitions) $(bootargs_usb); usb start; ext2load usb 0 0x800000 /boot/uImage; bootm 0x800000
bootargs_sata=root=/dev/sda1 rw rootdelay=10
bootcmd_sata=setenv bootargs $(bootargs_console) $(mtdpartitions) $(bootargs_sata); ide reset; ext2load ide 0:1 0x800000 /boot/uImage; bootm 0x800000
bootargs_nand=ubi.mtd=3 root=ubi0:rootfs rootfstype=ubifs rootdelay=10
bootcmd_nand=setenv bootargs $(bootargs_console) $(mtdpartitions) $(bootargs_nand); nand read.e 0x1200000 0x200000 0x600000;bootm 0x1200000
bootcmd=run bootcmd_usb; run bootcmd_sata; run bootcmd_nand
stdin=serial
stdout=serial
stderr=serial
mainlineLinux=no
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
netbsd_en=no
vxworks_en=no
bootdelay=3
disaMvPnp=no
enaAutoRecovery=yes
pcieTune=no
bootargs=console=ttyS0,115200;version=topkick1281p2-001-006-20101103 mtdparts=nand_mtd:0x180000@0(u-boot),0x20000@0x180000(u-boot-env),0x600000@0x200000(uImage),0x1f800000@0x800000(rootfs) root=/dev/sda1 rw rootdelay=10
install_mode=true
')

I also did a "nanddump /dev/mtd1" and from that garbled mess, think I got all the uBoot envs. Is that what you needed ?
devr
 
Posts: 87
Joined: Wed May 11, 2011 12:22 am

Re: TonidoPlug2

Postby kmihelich » Mon Nov 21, 2011 3:14 am

Looking at the uboot vars.. off the top of my head I see that you'll need to set mainlineLinux=yes, and set an arcNumber to something like 2097, which would give you sheeva machine init. The rest looks mostly standard, with loading /boot/uImage from ext2, and some special stuff probably for the specific kernel they're using. But the mainline and arcnumber are two you'll need to get into Arch.

You'll also want to get serial so you can change uboot variables that way in case things go badly. I wouldn't try this without serial.
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: TonidoPlug2

Postby devr » Wed Nov 23, 2011 2:20 am

Ok, made my serial cable and set the variables:
$this->bbcode_second_pass_code('', '
Marvell>> setenv mainlineLinux yes
Marvell>> setenv arcNumber 2097
')

So then my uBoot env variables look like:
$this->bbcode_second_pass_code('', '
Marvell>> printenv
baudrate=115200
loads_echo=0
ipaddr=192.168.58.21
serverip=192.168.58.135
rootpath=/mnt/ARM_FS/
netmask=255.255.255.0
run_diag=yes
console=console=ttyS0,115200 mtdparts=nand_mtd:0xc0000@0(uboot)ro,0x1ff00000@0x100000(root)
CASset=min
ethprime=egiga0
bootargs_root=root=/dev/nfs rw
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
ethmtu=1500
mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
yuk_ethaddr=00:00:00:EE:51:81
nandEcc=1bit
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
ethact=egiga0
initializeKernelRamdisk=nand erase clean 0x200000 0x600000; nand write.e 0x1200000 0x200000 0x300000; nand erase clean 0x800000 0x1000000; nand write.e 0x1800000 0x800000 0x800000
initializeUSB=usb start; fatload usb 0 0x1200000 uImage-topkick1281p2-001-003-20101103; fatload usb 0 0x1800000 cpio-initrd-topkick1281p2-v1.0.9.gz
filesize=749F9C
ethaddr=70:f3:95:ff:8a:c8
mtdpartitions=mtdparts=nand_mtd:0x180000@0(u-boot),0x20000@0x180000(u-boot-env),0x600000@0x200000(uImage),0x1f800000@0x800000(rootfs)
bootargs_console=console=ttyS0,115200;version=topkick1281p2-001-006-20101103
bootargs_usb=root=/dev/sda1 rw rootdelay=10
bootcmd_usb=setenv bootargs $(bootargs_console) $(mtdpartitions) $(bootargs_usb); usb start; ext2load usb 0 0x800000 /boot/uImage; bootm 0x800000
bootargs_sata=root=/dev/sda1 rw rootdelay=10
bootcmd_sata=setenv bootargs $(bootargs_console) $(mtdpartitions) $(bootargs_sata); ide reset; ext2load ide 0:1 0x800000 /boot/uImage; bootm 0x800000
bootargs_nand=ubi.mtd=3 root=ubi0:rootfs rootfstype=ubifs rootdelay=10
bootcmd_nand=setenv bootargs $(bootargs_console) $(mtdpartitions) $(bootargs_nand); nand read.e 0x1200000 0x200000 0x600000;bootm 0x1200000
bootcmd=run bootcmd_usb; run bootcmd_sata; run bootcmd_nand
bootargs=console=ttyS0,115200;version=topkick1281p2-001-006-20101103 mtdparts=nand_mtd:0x180000@0(u-boot),0x20000@0x180000(u-boot-env),0x600000@0x200000(uImage),0x1f800000@0x800000(rootfs) root=/dev/sda1 rw rootdelay=10
install_mode=true
stdin=serial
stdout=serial
stderr=serial
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
netbsd_en=no
vxworks_en=no
bootdelay=3
disaMvPnp=no
enaAutoRecovery=yes
pcieTune=no
mainlineLinux=yes
arcNumber=2097
')

But then no luck booting, I see the following:
$this->bbcode_second_pass_code('', '
Marvell>> boot
(Re)start USB...
USB: scanning bus for devices... 1 USB Device(s) found
Waiting for storage device(s) to settle before scanning...
0 Storage Device(s) found
** Bad partition 1 **
## Booting image at 00800000 ...
Bad Magic Number
Saving Environment to NAND...
Erasing Nand...Writing to Nand... done

Reset IDE:
Marvell Serial ATA Adapter
Integrated Sata device found
[0 0 0]: Enable DMA mode (6)
Device 0 @ 0 0:
Model: WDC WD5000BPKT-00PK4T0 Firm: 01.01A01 Ser#: WD-WXN1A71L8265
Type: Hard Disk
Supports 48-bit addressing
Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)


2675436 bytes read
## Booting image at 00800000 ...
Image Name: Linux-3.0-ARCH
Created: 2011-10-18 23:57:01 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2675372 Bytes = 2.6 MB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

Error: unrecognized/unsupported machine ID (r1 = 0x0000020f).

Available machine support:

ID (hex) NAME
00000690 Marvell DB-88F6281-BP Development Board
00000691 Marvell RD-88F6192-NAS Development Board
00000692 Marvell RD-88F6281 Reference Board
0000078c Marvell 88F6281 GTW GE Board
00000a76 Marvell eSATA SheevaPlug Reference Board
00000831 Marvell SheevaPlug Reference Board
00000a63 Marvell GuruPlug Reference Board
00000bb6 Seagate FreeAgent DockStar
00000c11 Seagate GoFlex Net
00000d0a Seagate GoFlex Home
0000085b QNAP TS-119/TS-219
000009c6 QNAP TS-41x
00000b44 Marvell OpenRD Ultimate Board
00000939 Marvell OpenRD Client Board
00000915 Marvell OpenRD Base Board
0000089a LaCie Network Space Max v2
000008a0 LaCie Internet Space v2
00000899 LaCie Network Space v2
0000089b LaCie d2 Network v2
0000089e LaCie 5Big Network v2
0000089c LaCie 2Big Network v2
00000b1e HP t5325 Thin Client

Please check your kernel config and/or bootloader.
')
devr
 
Posts: 87
Joined: Wed May 11, 2011 12:22 am

Re: TonidoPlug2

Postby devr » Wed Nov 23, 2011 2:27 am

ok, got past that.. did this:
$this->bbcode_second_pass_code('', '
setenv mainlineLinux=yes
setenv arcNumber=2097
reset
')

So not I boot... but see
$this->bbcode_second_pass_code('', '
## Booting image at 00800000 ...
Image Name: Linux-3.0-ARCH
Created: 2011-10-18 23:57:01 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2675372 Bytes = 2.6 MB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[ 23.497421] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 23.505759] [<c00370d0>] (unwind_backtrace+0x0/0xe0) from [<c03c55a8>] (panic+0x58/0x184)
[ 23.514024] [<c03c55a8>] (panic+0x58/0x184) from [<c0008d88>] (mount_block_root+0x234/0x284)
[ 23.522544] [<c0008d88>] (mount_block_root+0x234/0x284) from [<c0009094>] (prepare_namespace+0x160/0x1b4)
[ 23.532189] [<c0009094>] (prepare_namespace+0x160/0x1b4) from [<c0008a24>] (kernel_init+0xe4/0x110)
[ 23.541309] [<c0008a24>] (kernel_init+0xe4/0x110) from [<c0033234>] (kernel_thread_exit+0x0/0x8)
')

will do some more digging....
devr
 
Posts: 87
Joined: Wed May 11, 2011 12:22 am

Re: TonidoPlug2

Postby devr » Wed Nov 23, 2011 4:10 am

I am guessing there is something off with the lines:
$this->bbcode_second_pass_code('', '
setenv bootargs_sata 'root=/dev/sda1 rw rootdelay=10'
setenv bootcmd_sata 'setenv bootargs $(bootargs_console) $(mtdpartitions) $(bootargs_sata); ide reset; ext2load ide 0:1 0x800000 /boot/uImage; bootm 0x800000'
')

Maybe the offset (0x800000), but I am grasping at straws... I really messed up the uboot, and had to re-enter all 60 env parameters to boot again.. but back to square one and able to boot off the nand...

So to will see if anyone has any ideas, before playing in uBoot again. I am just glad I saved a copy of the original values.
devr
 
Posts: 87
Joined: Wed May 11, 2011 12:22 am

Next

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 12 guests