TonidoPlug 2 and linux-kirkwood?

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

TonidoPlug 2 and linux-kirkwood?

Postby necopinus » Tue Oct 30, 2012 11:56 pm

I'm sure that there's an obvious place that this question is answered, but I'm rather new to the world of Arch Linux on ARM and can't seem to find a straight answer.

I have a TonidoPlug 2 currently running the old 3.1.10 kernel. From what I gather, it looks like the proper upgrade path would be to jump to the linux-kirkwood package. Is this correct? Do I need to upgrade uBoot (as described here as well?

Thanks in advance for any answers or resources!
necopinus
 
Posts: 5
Joined: Tue Oct 30, 2012 11:15 pm

Re: TonidoPlug 2 and linux-kirkwood?

Postby WarheadsSE » Wed Oct 31, 2012 1:16 am

I don't believe that I had to for my USI topkick. You could check the serial boot log to see if it disables the L2 cache, at which point linux-kirkwood should work.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: TonidoPlug 2 and linux-kirkwood?

Postby devr » Wed Oct 31, 2012 5:22 pm

forgive me if I am asking obvious or stupid questions, it has been awhile since I have visited the forums & ran a system update. So ran a full system update (pacman -Sy; pacman -Su) last week. Came across this post, and was curious if I am supposed to run a manual update on my TonidoPlug2. The big warning I see when doing so makes me a bit cautious, so figured I'd double check.
$this->bbcode_second_pass_code('', '**********************************************************************
WARNING! This kernel requires a newer U-Boot than many devices such as
the Dockstar and Pogoplug v2 originally came with. If you do
not have an updated version, your system WILL NOT BOOT.
**********************************************************************
')

WarheadsSE mentioned checking the serial boot log... so I connected my serial cable and rebooted before doing the kernel update, but do not see anything about L2 cache..
$this->bbcode_second_pass_code('', '[325057.765745] Restarting system.

__ __ _ _
| \/ | __ _ _ ____ _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| | | | (_| | | \ V / __/ | |
|_| |_|\__,_|_| \_/ \___|_|_|
_ _ ____ _
| | | | | __ ) ___ ___ | |_
| | | |___| _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
\___/ |____/ \___/ \___/ \__|
** MARVELL BOARD: DB-88F6282A-BP LE

U-Boot 1.1.4 (Sep 13 2011 - 13:25:05) Marvell version: 3.4.27
USISH-SMB Ver: topkick1281p2-001-008-20110913-codelathe

U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006D0120

Soc: MV88F1155 Rev 1 (DDR2)
CPU running @ 800Mhz L2 running @ 400Mhz
SysClock = 400Mhz , TClock = 200Mhz

DRAM unknown CAL tRP = 8 tRAS = 20 tRCD=8
DRAM CS[0] base 0x00000000 size 512MB
DRAM Total size 512MB 16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:512 MB
Flash: 0 kB

CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
Net: egiga0 [PRIME]
Hit any key to stop autoboot: 0
(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)


2856016 bytes read
## Booting image at 00800000 ...
Image Name: Linux-3.1.10-13-ARCH
Created: 2012-08-20 15:46:58 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2855952 Bytes = 2.7 MB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
INIT: version 2.88 booting
HOSTNAME= is deprecated. See rc.conf(5) and hostname(5) for details.

> Arch Linux ARM

> http://archlinuxarm.org/

------------------------------
:: Mounting root read-only [DONE]
:: Setting hostname: slim [DONE]
HARDWARECLOCK= is deprecated. See rc.conf(5) and hwclock(8) for details.
:: Adjusting system time and setting kernel time zone [BUSY] TIMEZONE= is deprecated. See rc.conf(5) for details.
[DONE]
:: Starting udev daemon [DONE]
:: Triggering udev uevents [DONE]
:: Loading user-specified modules [BUSY] MODULES= is deprecated. See rc.conf(5) and modules-load.d(5) for details.
[DONE]
:: Waiting for udev uevents to be processed [BUSY] [ 33.255673] mwifiex_sdio mmc0:0001:1: request_firmware() returned error code 0xfffffffe
[ 33.265288] mwifiex: mwifiex_add_card: firmware init failed
[ 33.272167] mwifiex_sdio: mwifiex_sdio_probe: add card failed
[DONE]
:: Configuring virtual consoles [DONE]
:: Bringing up loopback interface [DONE]
:: Checking filesystems [DONE]
:: Remounting root and API filesystems [DONE]
:: Mounting local filesystems [DONE]
:: Activating swap [DONE]
:: Configuring time zone [DONE]
:: Initializing random seed [DONE]
:: Removing leftover files [DONE]
NIT: Entering runlevel: 3 [DONE]
:: Starting Syslog-NG [BUSY] Error binding socket; addr='AF_UNIX(/run/systemd/journal/syslog)', error='No such file or directory (2)'
Error initializing source driver; source='src', id='src#0'
Error initializing message pipeline;
[FAIL]
:: Starting network [DONE]
:: Mounting network filesystems [DONE]
:: Starting crond daemon [DONE]
:: Starting OpenNTPD [DONE]
:: Starting Secure Shell Daemon [DONE]
:: Starting MySQL Server [DONE]
:: Checking configuration [DONE]
:: Starting php-fpm [DONE]
:: Checking nginx configuration [DONE]
:: Starting nginx [DONE]
:: Starting sslh daemon [BUSY] slim:https:bind: Cannot assign requested address
[FAIL]

Arch Linux 3.1.10-13-ARCH (ttyS0)
')
devr
 
Posts: 87
Joined: Wed May 11, 2011 12:22 am

Re: TonidoPlug 2 and linux-kirkwood?

Postby WarheadsSE » Wed Oct 31, 2012 5:37 pm

For comparison, here it to topkick uboot.
$this->bbcode_second_pass_code('', '
__ __ _ _
| \/ | __ _ _ ____ _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| | | | (_| | | \ V / __/ | |
|_| |_|\__,_|_| \_/ \___|_|_|
_ _ ____ _
| | | | | __ ) ___ ___ | |_
| | | |___| _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
\___/ |____/ \___/ \___/ \__|
** MARVELL BOARD: DB-88F6282A-BP LE

U-Boot 1.1.4 (Dec 14 2010 - 16:00:25) Marvell version: 3.4.27
USISH-SMB Ver: topkick1281p2-001-007-20101210

U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006D0120

Soc: 88F6282 Z0 (DDR2)
CPU running @ 1600Mhz L2 running @ 533Mhz
SysClock = 533Mhz , TClock = 200Mhz

DRAM unknown CAL tRP = 8 tRAS = 20 tRCD=8
DRAM CS[0] base 0x00000000 size 256MB
DRAM Total size 256MB 16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:256 MB
Switch On !

Flash: 0 kB

CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled


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

It looks like it might work for you, I would suggest trying it with tftp first.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: TonidoPlug 2 and linux-kirkwood?

Postby necopinus » Thu Nov 01, 2012 2:16 pm

@devr: Any luck?

@WarheadsSE & @devr: It sounds like I need to pick up a serial connector to be sure. I've seen the ones sold by Adafruit recommended in a couple of places, though apparently they need to be modified slightly in order to work with the TonidoPlug 2 (the connector for the TonidoPlug 2 is only 4 pins). Is this the best course for a relative newbie, or is there a different cable that you would recommend?

Thanks!
necopinus
 
Posts: 5
Joined: Tue Oct 30, 2012 11:15 pm

Re: TonidoPlug 2 and linux-kirkwood?

Postby WarheadsSE » Thu Nov 01, 2012 2:37 pm

You only need 3 pins connected for these guys anyways (Gnd,Tx,Rx) Just make sure it is the right 3.3v!
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: TonidoPlug 2 and linux-kirkwood?

Postby devr » Fri Nov 02, 2012 2:25 am

Seems like it Worked, and that was my first time ever doing a tftpboot.. yay..
$this->bbcode_second_pass_code('', 'Marvell>> tftpboot 00800000 uImage-linux-kirkwood-3.6.4-1
Using egiga0 device
TFTP from server 192.168.1.4; our IP address is 192.168.1.3
Filename 'uImage-linux-kirkwood-3.6.4-1'.
Load address: 0x800000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
################################
done
Bytes transferred = 3158896 (303370 hex)
Marvell>> bootm
## Booting image at 00800000 ...
Image Name: Linux-3.6.4-1-ARCH
Created: 2012-10-29 16:22:43 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3158832 Bytes = 3 MB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
INIT: version 2.88 booting')

So I was curious what the reason that this is a manual upgrade process, are there risks with the newer kernel ? I tried looking around the site for a news posting or an announcement on the forum.. didn't see anything, but I have been away for a while... so figured Id check.

@necopinus, here is a post I did on the serial cable I use:
viewtopic.php?f=6&t=2799
devr
 
Posts: 87
Joined: Wed May 11, 2011 12:22 am

Re: TonidoPlug 2 and linux-kirkwood?

Postby kmihelich » Fri Nov 02, 2012 1:34 pm

It's a manual process because not all U-Boots on the devices we support are compatible. Being a manual upgrade makes it a conscious decision on the part of the user to change to the different kernel, meaning that they have hopefully taken any necessary steps to ensure it will boot.
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: TonidoPlug 2 and linux-kirkwood?

Postby devr » Fri Nov 02, 2012 3:49 pm

Thanks for the reply. Took the plunge, and everything seems just fine. There is actually a pretty noticeable performance gain with the 3.6 kernel versus the 3.1. At least when it comes to ownCloud + php-fpm + nginx, I haven't tested much else. But owncloud is much, much more responsive and handling file requests quicker.

Thank you for all the hardwork you guys put into archlinuxarm.
devr
 
Posts: 87
Joined: Wed May 11, 2011 12:22 am

Re: TonidoPlug 2 and linux-kirkwood?

Postby WarheadsSE » Fri Nov 02, 2012 4:08 pm

Do a search about enable BFQ, you might be able to eek a bit more out of it too.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Next

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 25 guests