Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo on the SheevaPlug
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
armin76
Developer
Developer


Joined: 24 Apr 2006
Posts: 173

PostPosted: Tue Mar 24, 2009 4:35 pm    Post subject: Gentoo on the SheevaPlug Reply with quote

Hi guys,

I did the guide for installing Gentoo on the SheevaPlug. Its pretty simple, so have fun with it!

http://dev.gentoo.org/~armin76/arm/sheevaplug/install.xml

Read more about the device here: http://www.marvell.com/products/embedded_processors/developer/kirkwood/sheevaplug.jsp
Back to top
View user's profile Send private message
avx
Advocate
Advocate


Joined: 21 Jun 2004
Posts: 2098

PostPosted: Tue Mar 24, 2009 4:51 pm    Post subject: Reply with quote

Thank you very much, hope mine will arrive soon :)
Back to top
View user's profile Send private message
jlpoole
Apprentice
Apprentice


Joined: 01 Nov 2005
Posts: 232
Location: Napa, CA

PostPosted: Fri Apr 03, 2009 5:18 pm    Post subject: Thank you , thank you! Reply with quote

What a godsend -- do you work for Marvell?

My SheevaPlug arrived yesterday and I was hoping for some howto documentation; your site is just the the documentation I've needed (haven't used it, but will and will report).
Back to top
View user's profile Send private message
armin76
Developer
Developer


Joined: 24 Apr 2006
Posts: 173

PostPosted: Fri Apr 03, 2009 6:38 pm    Post subject: Re: Thank you , thank you! Reply with quote

jlpoole wrote:
What a godsend -- do you work for Marvell?

My SheevaPlug arrived yesterday and I was hoping for some howto documentation; your site is just the the documentation I've needed (haven't used it, but will and will report).


Nope, i don't work for Marvell, they just send us a Sheevaplug for ARM development.

Let me know if you have any question :)
Back to top
View user's profile Send private message
FocusedBit
n00b
n00b


Joined: 02 Apr 2009
Posts: 1

PostPosted: Fri Apr 03, 2009 8:32 pm    Post subject: Reply with quote

Thank you much for the guide. I ended up loading the uImage from my usb hard drive as I was getting "unrecoverable errors" when doing 5.5. A quick note, when applying the settings in Code Listing 4.2, I had to restart my plug to get it to work, and also needed to replace the '=' with a space.

Fantastic guide.
Back to top
View user's profile Send private message
armin76
Developer
Developer


Joined: 24 Apr 2006
Posts: 173

PostPosted: Sat Apr 04, 2009 5:30 pm    Post subject: Reply with quote

FocusedBit wrote:
Thank you much for the guide. I ended up loading the uImage from my usb hard drive as I was getting "unrecoverable errors" when doing 5.5.


Input/Output errors when doing the echo?
Back to top
View user's profile Send private message
jlpoole
Apprentice
Apprentice


Joined: 01 Nov 2005
Posts: 232
Location: Napa, CA

PostPosted: Wed Apr 08, 2009 4:17 am    Post subject: Reply with quote

I've been following your instructions and making copious notes; however, performing the monitoring and running the tftp server off of my Windows XP laptop as my Gentoo box is one foot in the grave.


For those following, here are some gotchas and help pointers:
The USB cable that shipped came in my SheevaPlug Development Kit is an "Type A" to a "Mini A". See http://en.wikipedia.org/wiki/USB_plug#Types_of_USB_connector

The installation of the Windows "Mini-USB debug driver" as documented in the SheevaPlug_Development_Kit_README-Rev1.1.pdf required three iterations of USB port installations: A, then B, then generic. Also make sure you have available a COM port in the range 1-4.

I used PuttY on Windows XP to connect to the plug. I found if you plugged in the SheevaPlug and then quickly clicked a pre-saved PuttY profile, you could connect to the SheevaPlug and view the loading of the loader (where you hit a key to interrupt it). It may be that the loader doesn't work until someone tries to connect so there may not be a rush to have to connect just after you power up. Comments?

My plug came with Ubuntu Jaunty installed, the login account/password is: root/nosoup4u It is helpful to try letting the your network assign an IP and then learning what IP you'll need to hard wire in the Marvell shell later on (see below).

Since I'm behind a firewall, I downloaded the two images from http://dev.gentoo.org/~armin76/arm/sheevaplug/install/
I used SourceForge's TFTP Server http://sourceforge.net/project/showfiles.php?group_id=162512&package_id=183446 The TFTPServerMTInstallerV1.61.exe did the trick, the "M" is for multiple ports and the "S" version is for a single port.

You have to reset the plug's variables; here's what I used (I removed my IP numbers):
Code:
#
# setenv key value
# not key=value!!
#
setenv serverip 130.##.##.##


Note: your TFTP server and the plug need to be on the same subnet
from SheevaPlug Development Kit - Board Bring-up using JTAG-Rev1.0.pdf
Quote:
Set your IP address
setenv ipaddr 192.168.1.XXX
11. Set your server IP address. Please note that the IP address of the SheevaPlug system and the TFTP server should be in the same subnet.
setenv serverip 192.168.1.YYY
setenv ipaddr 130.##.##.##
Back to top
View user's profile Send private message
jlpoole
Apprentice
Apprentice


Joined: 01 Nov 2005
Posts: 232
Location: Napa, CA

PostPosted: Wed Apr 08, 2009 4:24 am    Post subject: Reply with quote

UPDATE
I went through the loading sequence again as follows with success (getting to the BusyBox v.1.7.4 shell):
Code:
setenv serverip XXX.XX.XX.XX
setenv ipaddr  XXX.XX.XX.XX
setenv arcNumber 2097
setenv mainlineLinux yes
saveenv
Saving Environment to NAND...
Erasing Nand...Writing to Nand... done

tftpboot 0x8000000 initramfs
tftpboot 0x2000000 uImage_kwplug
setenv bootargs console=ttyS0,115200 root=/dev/ram rw initrd=0x8000000,0x3fffff
bootm 0x2000000

I'm leaving the earlier posting below for propriety.

Earlier posting
I downloaded initramfs and uImage_kwplug on 4/7/2009 at 8:10 p.m. PDT from http://dev.gentoo.org/~armin76/arm/sheevaplug/install/ and then proceeded to load the images into memory and was blocked with: Error: unrecognized/unsupported machine ID (r1 = 0x0000020f).

Here's my log (redacted the IP information):
Quote:
Marvell>> tftpboot 0x8000000 initramfs
Using egiga0 device
TFTP from server XXX.XX.XX.XX; our IP address is XXX.XX.XX.XX
Filename 'initramfs'.
Load address: 0x8000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
########################################
done
Bytes transferred = 4194304 (400000 hex)
Marvell>> tftpboot 0x2000000 uImage_kwplug
Using egiga0 device
TFTP from server XXX.XX.XX.XX; our IP address is XXX.XX.XX.XX
Filename 'uImage_kwplug'.
Load address: 0x2000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
########################################################
done
Bytes transferred = 2280560 (22cc70 hex)
Marvell>> setenv bootargs console=ttyS0,115200 root=/dev/ram rw initrd=0x8000000,0x3fffff
Marvell>> bootm 0x2000000
## Booting image at 02000000 ...
Image Name: Linux-2.6.29-rc7-00057-g569106c
Created: 2009-03-20 13:07:04 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2280496 Bytes = 2.2 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
00000831 Marvell SheevaPlug Reference Board

Please check your kernel config and/or bootloader.


Do the downloads need to be updated to matching Marvell's units that are currently shipping?
Back to top
View user's profile Send private message
jlpoole
Apprentice
Apprentice


Joined: 01 Nov 2005
Posts: 232
Location: Napa, CA

PostPosted: Thu Apr 09, 2009 5:32 am    Post subject: Fails: make kirkwood_defconfig menuconfig Reply with quote

I have run into problems at the making of the kernel.

I was able to get a copy of git://git.marvell.com/orion.git this evening at 8:10 p.m. PDT by using msysgit onto my windows laptop (going outside of the firewall as I could not get the http protocol to work) and stage same on my windows laptop. For those reading who are new to installing Gentoo on an ARM based system, the orion.git is a full staging of Linux. It took an hour or more to download and do its thing of unpacking and verifying:
Quote:
D:\work\GIT>git clone git://git.marvell.com/orion.git
Initialized empty Git repository in D:/work/GIT/orion/.git/
remote: Counting objects: 1168771, done.
remote: Compressing objects: 100% (200504/200504), done.
remote: Total 1168771 (delta 974580), reused 1156140 (delta 961954)
Receiving objects: 100% (1168771/1168771), 300.20 MiB | 478 KiB/s, done.
Resolving deltas: 100% (974580/974580), done.
Checking out files: 100% (27647/27647), done.

D:\work\GIT>ipconfig


I tar'd and zipped up the directory orion into a bz2 archive, staged it under my Apache2 server running on my laptop, and then downloaded the archive to my SheevaPlug using wget.

I staged the archive under /user/src and renamed orion to linux.

Then, at /usr/src/linux I executed:
Code:
 make kirkwood_defconfig menuconfig 

and basically got what looked to be garbage:
Code:
...
drivers/crypto/Kconfig:147: unknown option "of"
drivers/crypto/Kconfig:187: unknown option "The"
drivers/crypto/Kconfig:188: unknown option "as"
drivers/crypto/Kconfig:190: unknown option "To"
drivers/crypto/Kconfig:191: unknown option "will"
make[1]: *** [kirkwood_defconfig] Error 1
make: *** [kirkwood_defconfig] Error 2
(chroot) netboot linux #


I "head" and "tailed" /usr/src/linux/arch/arm/configs/kirkwood_defconfig just to make sure it was not corrupt and it looked okay.

Can someone suggest what might be wrong with the make? My problem makes me think I have a corrupted file somewhere, anyone agree? Is using bz2 risky? Everything seemed to "bunzip2" and "tar -xvvf" without incident.

(I realize my writing reflects my being inexperienced this area, but I strive to completely cover any point for a reader who might be unfamiliar with the subject and procedure so they can easily follow and learn.)
Back to top
View user's profile Send private message
armin76
Developer
Developer


Joined: 24 Apr 2006
Posts: 173

PostPosted: Thu Apr 09, 2009 11:14 am    Post subject: Reply with quote

Thats really weird...

If it helps, sheevaplug support is in 2.6.30_rc1, so may wanna check that out.
Back to top
View user's profile Send private message
arch_dude
n00b
n00b


Joined: 06 Apr 2004
Posts: 38

PostPosted: Thu Apr 09, 2009 12:15 pm    Post subject: Reply with quote

Has anyone figured out how to do Gentoo cross-development for SheevaPlug? That is, install the correct cross tool chain and environment on a big honkin' amd64 machine to do emerges and builds of binaries for the Sheevaplug? If so, is there a HOWTO?
Back to top
View user's profile Send private message
armin76
Developer
Developer


Joined: 24 Apr 2006
Posts: 173

PostPosted: Thu Apr 09, 2009 12:45 pm    Post subject: Reply with quote

I'd recommend that you read the embedded handbook: http://www.gentoo.org/proj/en/base/embedded/handbook/

Also i think the Sheevaplug its pretty good at compiling, obviously not like an amd64, but...still, the quick guide is here:
Code:

* emerge crossdev crossdev-wrappers
* crossdev armv5tel-softfloat-linux-gnueabi
* emerge-wrapper --init
* edit /usr/armv5tel-softfloat-linux-gnueabi/etc/make.conf accordingly
* emerge-armv5tel-softfloat-linux-gnueabi $pkg
Back to top
View user's profile Send private message
arch_dude
n00b
n00b


Joined: 06 Apr 2004
Posts: 38

PostPosted: Thu Apr 09, 2009 1:12 pm    Post subject: Reply with quote

armin76 wrote:
I'd recommend that you read the embedded handbook: http://www.gentoo.org/proj/en/base/embedded/handbook/

Also i think the Sheevaplug its pretty good at compiling, obviously not like an amd64, but...still, the quick guide is here:
Code:

* emerge crossdev crossdev-wrappers
* crossdev armv5tel-softfloat-linux-gnueabi
* emerge-wrapper --init
* edit /usr/armv5tel-softfloat-linux-gnueabi/etc/make.conf accordingly
* emerge-armv5tel-softfloat-linux-gnueabi $pkg


Thanks! I (sort of) knew about the handbook and crossdev. Since I do not (yet) have a Sheevaplug, I had not figured out which target tuple is appropriate. You just saved me several hours of tiral and error.
While I'm sure the Sheevaplug is a fine processor and all, my build machine is a Core i7. I'm also already using a shared portage tree (for VM's, mostly) so it will be a bit easier to build on the Core i7. Finally, I intend to use the Sheevaplug for home control, so I prefer to minimize extra overhead work on it.
Back to top
View user's profile Send private message
jlpoole
Apprentice
Apprentice


Joined: 01 Nov 2005
Posts: 232
Location: Napa, CA

PostPosted: Thu Apr 09, 2009 4:38 pm    Post subject: PuTTY Reply with quote

I'm working with the SheevaPlug from Windows XP and use the windows version of PuTTY, a free implementation of Telnet and SSH for Win32 and Unix .

My settings: I created a profile "SheevaPlug" and configured it as follows (under Connection-Serial):
    Serial line to connec to = COM2
    Speed [baud] = 115200
    Data bits = 8
    Stop bits = 1
    Parity = None
    Flow control = None

I've had problems with my Control-C working, I cannot just enter "ping oracle.com" for it will just keep pinging it and I cannot break out of it with a Control-C.

I tried connecting with the Party to "Odd", the setting recommended in the Howto and in Marvell's documentation, but got garbage.


Update:
I should also note that Marvell's SheevaPlug_Development_Kit_README-Rev1.1.pdf on page 15 has the settings for the COM4 port "Port Settings" tab baud=115200, Data bits = 8, Parity = None, Stop bits = 1, Flow Control = None. I do not know why the Marvell documentation of the Parity=None is at variance with the Install Howto of Parity=Odd. Also, Marvell's SheevaPlug Development Kit - Writing Jaunty Filesystem on the NAND flash-Rev1.1.pdf on page 3 has "Parity to None".
Back to top
View user's profile Send private message
jlpoole
Apprentice
Apprentice


Joined: 01 Nov 2005
Posts: 232
Location: Napa, CA

PostPosted: Thu Apr 09, 2009 9:19 pm    Post subject: Reply with quote

armin76 wrote:
Thats really weird...

If it helps, sheevaplug support is in 2.6.30_rc1, so may wanna check that out.


Which patchset? gentoo-sources? And which platform? x86? The http://packages.gentoo.org/package/sys-kernel/git-sources does not have a "arm" designation in its choices of: alpha, amd64, hppa, ia64, ppc, ppc64, sparc, & x86.

Also, I'm new to bringing to unreleased packages into my system and would appreciate some help. I've referenced the following:
3. Mixing Software Branches from 3. Working with Portage

Gentoo Linux Kernel Upgrade Guide[url][/url]

and cannot determine how to bring into my environment the list of unreleased builds such as 2.6.30_rc1 (~???).

Can someone provide me a quick punch list of what to do to so I can emerge/download 2.6.30_rc1?

(Keep in mind, I'm working in the temporary booted system loaded from tftp and chrooted into /mnt/gentoo and have not built my kernel yet, so I may be missing certain features.)
Back to top
View user's profile Send private message
jlpoole
Apprentice
Apprentice


Joined: 01 Nov 2005
Posts: 232
Location: Napa, CA

PostPosted: Fri Apr 10, 2009 2:15 am    Post subject: Reply with quote

I updated my copy of the orion repository (git://git.marvell.com/orion.git using "git pull") around 3:30 p.m. PDT today, tar and zipped the tree and used wget within SheevaPlug's console to pull the archive into /usr/src where I staged the tree as /usr/src/orion. I changed directory to /usr/src/orion and then entered:
Code:
make --debug kirkwood_defconfig menuconfig >make_attempt.log


I had the same kind of failure as I did yesterday. This time I have a log:
Quote:
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for armv5tel-softfloat-linux-gnueabi
Reading makefiles...
Updating goal targets....
File `kirkwood_defconfig' does not exist.
File `scripts_basic' does not exist.
Must remake target `scripts_basic'.
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for armv5tel-softfloat-linux-gnueabi
Reading makefiles...
Updating goal targets....
File `__build' does not exist.
File `FORCE' does not exist.
Must remake target `FORCE'.
Successfully remade target file `FORCE'.
Prerequisite `FORCE' of target `scripts/basic/fixdep' does not exist.
Must remake target `scripts/basic/fixdep'.
Successfully remade target file `scripts/basic/fixdep'.
Prerequisite `FORCE' of target `scripts/basic/docproc' does not exist.
Must remake target `scripts/basic/docproc'.
Successfully remade target file `scripts/basic/docproc'.
Prerequisite `FORCE' of target `scripts/basic/hash' does not exist.
Must remake target `scripts/basic/hash'.
Successfully remade target file `scripts/basic/hash'.
Must remake target `__build'.
Successfully remade target file `__build'.
Successfully remade target file `scripts_basic'.

Successfully remade target file `__build'.
Successfully remade target file `scripts_basic'.
File `outputmakefile' does not exist.
Must remake target `outputmakefile'.
Successfully remade target file `outputmakefile'.
File `FORCE' does not exist.
Must remake target `FORCE'.
Successfully remade target file `FORCE'.
Must remake target `kirkwood_defconfig'.
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for armv5tel-softfloat-linux-gnueabi
Reading makefiles...
Updating goal targets....
File `kirkwood_defconfig' does not exist.
Updating goal targets....
File `kirkwood_defconfig' does not exist.
File `FORCE' does not exist.
Must remake target `FORCE'.
Successfully remade target file `FORCE'.
Prerequisite `FORCE' of target `scripts/kconfig/conf.o' does not exist.
Must remake target `scripts/kconfig/conf.o'.
Successfully remade target file `scripts/kconfig/conf.o'.
Prerequisite `FORCE' of target `scripts/kconfig/kxgettext.o' does not exis$
Must remake target `scripts/kconfig/kxgettext.o'.
Successfully remade target file `scripts/kconfig/kxgettext.o'.
Prerequisite `FORCE' of target `scripts/kconfig/zconf.tab.o' does not exis$
Must remake target `scripts/kconfig/zconf.tab.o'.
Successfully remade target file `scripts/kconfig/zconf.tab.o'.
Prerequisite `FORCE' of target `scripts/kconfig/conf' does not exist.
Must remake target `scripts/kconfig/conf'.
Successfully remade target file `scripts/kconfig/conf'.
Must remake target `kirkwood_defconfig'.
init/Kconfig:186:warning: multi-line strings not supported

Must remake target `kirkwood_defconfig'.
init/Kconfig:186:warning: multi-line strings not supported
I redacted most of what appears below leaving below as a sample of the errors
net/unix/Kconfig:17:warning: multi-line strings not supported
net/Kconfig:48:warning: multi-line strings not supported
net/ipv4/Kconfig:25:warning: multi-line strings not supported
net/ipv4/Kconfig:30:warning: multi-line strings not supported
net/ipv4/Kconfig:31:warning: multi-line strings not supported



I must be doing something wrong here or something in my shell is affecting make's ability. Help?

Update: Here is my environment:
Quote:
BASH=/bin/bash
BASH_ARGC=()
BASH_ARGV=()
BASH_LINENO=()
BASH_SOURCE=()
BASH_VERSINFO=([0]="3" [1]="2" [2]="39" [3]="1" [4]="release" [5]="armv5tel-soft
float-linux-gnueabi")
BASH_VERSION='3.2.39(1)-release'
COLUMNS=80
CONFIG_PROTECT_MASK='/etc/udev/rules.d /etc/terminfo /etc/ca-certificates.conf'
CVS_RSH=ssh
DIRSTACK=()
EDITOR=/bin/nano
EUID=0
GCC_SPECS=
GROUPS=()
HISTFILE=//.bash_history
HISTFILESIZE=500
HISTSIZE=500
HOME=/
HOSTNAME=netboot
HOSTTYPE=armv5tel
IFS=$' \t\n'
INFOPATH=/usr/share/info:/usr/share/binutils-data/armv5tel-softfloat-linux-gnuea
bi/2.18/info:/usr/share/gcc-data/armv5tel-softfloat-linux-gnueabi/4.1.2/info
LESS='-R -M --shift 5'
LESSOPEN='|lesspipe.sh %s'
LINES=24
LS_COLORS='no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:
cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:tw=30;42:ow=34;42:st
=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.svgz=01;31:*.arj=01;31:*.taz=01;31:*.l
zh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz
2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*
.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;3
5:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga
=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:
*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=0
1;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.n
uv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35
:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.pdf=00;
32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.d
oc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;3
6:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:'
MACHTYPE=armv5tel-softfloat-linux-gnueabi
MAILCHECK=60
MANPATH=/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/armv5tel-so
--More--
ftfloat-linux-gnueabi/2.18/man:/usr/share/gcc-data/armv5tel-softfloat-linux-gnue
abi/4.1.2/man
OLDPWD=/usr/src
OPTERR=1
OPTIND=1
OSTYPE=linux-gnueabi
PAGER=/usr/bin/less
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/
armv5tel-softfloat-linux-gnueabi/gcc-bin/4.1.2
PIPESTATUS=([0]="0")
PPID=601
PS1='(chroot) \[\033[01;31m\]\h\[\033[01;34m\] \W \$\[\033[00m\] '
PS2='> '
PS4='+ '
PWD=/usr/src/orion
SHELL=/bin/bash
SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments:moni
tor
SHLVL=1
TERM=linux
UID=0
_=set
a=98827239
--More--
OLDPWD=/usr/src
OPTERR=1
OPTIND=1
OSTYPE=linux-gnueabi
PAGER=/usr/bin/less
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/
armv5tel-softfloat-linux-gnueabi/gcc-bin/4.1.2
PIPESTATUS=([0]="0")
PPID=601
PS1='(chroot) \[\033[01;31m\]\h\[\033[01;34m\] \W \$\[\033[00m\] '
PS2='> '
PS4='+ '
PWD=/usr/src/orion
SHELL=/bin/bash
SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments:moni
tor
SHLVL=1
TERM=linux
UID=0
_=set
a=98827239
http_proxy=[redacted]
release_id=74704
(chroot) netboot orion #
Back to top
View user's profile Send private message
jlpoole
Apprentice
Apprentice


Joined: 01 Nov 2005
Posts: 232
Location: Napa, CA

PostPosted: Fri Apr 10, 2009 6:50 am    Post subject: Revised Instructions -- new problem Reply with quote

The howto at http://dev.gentoo.org/~armin76/arm/sheevaplug/install.xml has changed in the last couple of hours.

The current instruction reads:
Quote:
Configuring and installing the kernel

The SheevaPlug is supported in the mainline kernel since 2.6.30-rc1.

First, we need the following packages for compiling our own kernel:

Code Listing 5.1: Emerging needed packages

# emerge u-boot-tools

Now, let's emerge vanilla-sources:

Code Listing 5.2: Emerging vanilla-sources

# ACCEPT_KEYWORDS="~arm" emerge >=sys-kernel/vanilla-sources-2.6.30_rc1


Here's my log:

netboot / # export PS1="(chroot) $PS1"
(chroot) netboot / # emerge --search u-boot-tools
Searching...
[ Results for search key : u-boot-tools ]
[ Applications found : 1 ]

* dev-embedded/u-boot-tools
Latest version available: 2008.10
Latest version installed: 2008.10
Size of files: 7,785 kB
Homepage: http://www.denx.de/wiki/U-Boot/WebHome
Description: utilities for working with Das U-Boot
License: GPL-2

(chroot) netboot / # ACCEPT_KEYWORDS="~arm" emerge >=sys-kernel/vanilla-sources-2.6.30_rc1
bash: =sys-kernel/vanilla-sources-2.6.30_rc1: No such file or directory
(chroot) netboot / #

Looks like the ">" is being interpreted when it should not be?

Update: removing the ">" overcomes this hurdle, use:
Code:
ACCEPT_KEYWORDS="~arm" emerge =sys-kernel/vanilla-sources-2.6.30_rc1
Back to top
View user's profile Send private message
armin76
Developer
Developer


Joined: 24 Apr 2006
Posts: 173

PostPosted: Fri Apr 10, 2009 10:58 am    Post subject: Reply with quote

I've fixed that.

As for which sources, rc's only are available at vanilla-sources. You can either emerge it, or download it directly from kernel.org.
Back to top
View user's profile Send private message
orvtech
Tux's lil' helper
Tux's lil' helper


Joined: 28 Aug 2004
Posts: 115
Location: US. Florida

PostPosted: Fri Jun 05, 2009 6:39 pm    Post subject: Reply with quote

is it possible to get a WiFi adapter going on this little machines?
_________________
http://orvtech.com
http://www.linuxevolution.org
Back to top
View user's profile Send private message
Sodki
Guru
Guru


Joined: 11 Aug 2003
Posts: 418
Location: London, U.K. & Lisbon, Portugal

PostPosted: Fri Jun 26, 2009 12:10 pm    Post subject: Reply with quote

Has anyone managed to compile the latest "boost" package?
Back to top
View user's profile Send private message
rootoutcast
n00b
n00b


Joined: 30 May 2009
Posts: 6
Location: Colorado

PostPosted: Tue Aug 18, 2009 9:59 pm    Post subject: Reply with quote

Has anyone managed to get Gentoo running on the internal memory of the sheevaplug
Back to top
View user's profile Send private message
jlpoole
Apprentice
Apprentice


Joined: 01 Nov 2005
Posts: 232
Location: Napa, CA

PostPosted: Sun Dec 12, 2010 1:51 pm    Post subject: Reply with quote

Raul,

I have a next generation of the SheevaPlug, the OpenRD Client, and I have been trying to build the kernel and the initramfs just as you did within this topic. I've run into a wall and cannot get the initramfs to load. I get the "Bad Magic Number" message. I posted an inquiry on the gentoo embedded list and I posted a topic in this forum: Help with initramfs for Marvell OpenRD-Client LE. I was hoping you might be able to assist.

Would you be willing to share how you built the initramfs and/or provide some hints. I noticed that there was an appreciable size different in the file between what I compiled for the initramfs versus what you compiled for the SheevaPlug -- your was at least double the size, so I'm thinking you must have had additional tools in addition to Busybox. I also was able to load your initramfs without getting the "Bad Magic Number" error, but the module duly aborted when it determined that it was not compiled for the current (OpenRd) platform. I must have be doing something wrong at a very basic level.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum