Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GuruPlug Server installation kernel problem
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
NightMonkey
Guru
Guru


Joined: 21 Mar 2003
Posts: 357
Location: Philadelphia, PA

PostPosted: Fri May 14, 2010 10:48 pm    Post subject: GuruPlug Server installation kernel problem Reply with quote

Howdy. I'm following this: http://dev.gentoo.org/~armin76/arm/sheevaplug/install.xml . Everything works swimmingly on my new GuruPlug Server Plus, until...

Code:
Starting kernel ...                                                                             
                                                                                                 
Uncompressing Linux..............................................................................
                                                                                                 
Error: unrecognized/unsupported machine ID (r1 = 0x00000a29).                                   
                                                                                                 
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                                               
0000085b        QNAP TS-119/TS-219                                                               
                                                                                                 
Please check your kernel config and/or bootloader.


Can the kernel and image be updated to handle this new hardware from GlobalScale? Thanks! :)
_________________
:D
Back to top
View user's profile Send private message
basiaf
n00b
n00b


Joined: 25 Feb 2005
Posts: 44
Location: Dortmund

PostPosted: Tue May 18, 2010 6:32 pm    Post subject: Reply with quote

Hi ! I just got my guru plug today, so didn't get far until now, but I got it to boot using the uImage from http://code.google.com/p/guruplug/downloads/list.
Back to top
View user's profile Send private message
py-ro
Veteran
Veteran


Joined: 24 Sep 2002
Posts: 1734
Location: Velbert

PostPosted: Tue May 18, 2010 9:01 pm    Post subject: Reply with quote

See Documentation this case is described there, you must set some Options in uboot to boot a standard kernel.

Received mine today, but no time to start.

Py
Back to top
View user's profile Send private message
tomk
Bodhisattva
Bodhisattva


Joined: 23 Sep 2003
Posts: 7221
Location: Sat in front of my computer

PostPosted: Wed May 19, 2010 8:07 am    Post subject: Reply with quote

Moved from Installing Gentoo to Gentoo on Alternative Architectures, you should get more help here.
_________________
Search | Read | Answer | Report | Strip
Back to top
View user's profile Send private message
armin76
Retired Dev
Retired Dev


Joined: 24 Apr 2006
Posts: 174

PostPosted: Wed May 19, 2010 6:47 pm    Post subject: Reply with quote

Did you do the "Setting needed kernel-related variables" part?

If so, paste here the 'printenv' output of u-boot.
Back to top
View user's profile Send private message
armin76
Retired Dev
Retired Dev


Joined: 24 Apr 2006
Posts: 174

PostPosted: Thu May 20, 2010 6:56 pm    Post subject: Reply with quote

Oh nvm, i see you need a new kernel...

Sure, i'll try to update it.
Back to top
View user's profile Send private message
armin76
Retired Dev
Retired Dev


Joined: 24 Apr 2006
Posts: 174

PostPosted: Fri May 21, 2010 6:53 pm    Post subject: Reply with quote

I've updated the kernel.

Please try it out and let me know
Back to top
View user's profile Send private message
NightMonkey
Guru
Guru


Joined: 21 Mar 2003
Posts: 357
Location: Philadelphia, PA

PostPosted: Sun May 23, 2010 10:01 pm    Post subject: Reply with quote

armin76 wrote:
I've updated the kernel.

Please try it out and let me know


Sadly, we got new results, but not the goal. :) This is on the two-GigE port/wifi/bluetooth "GuruPlug Server Plus".

Quote:
Marvell>> setenv arcNumber 2097
Marvell>> setenv mainlineLinux yes
Marvell>> saveenv
Saving Environment to NAND...
Erasing Nand...
Erasing at 0x40000 -- 100% complete.
Writing to Nand... done
Marvell>> reset
resetting ...


U-Boot 2009.11-rc1-00602-g28a9c08-dirty (Feb 09 2010 - 18:15:21)
Marvell-Plug2L

SoC: Kirkwood 88F6281_A0
DRAM: 512 MB
NAND: 512 MiB
In: serial
Out: serial
Err: serial
Net: egiga0, egiga1
88E1121 Initialized on egiga0
88E1121 Initialized on egiga1
Hit any key to stop autoboot: 0

Marvell>> tftpboot 0x8000000 sheevaplug.initramfs
Using egiga0 device
TFTP from server 192.168.1.55; our IP address is 192.168.1.235
Filename 'sheevaplug.initramfs'.
Load address: 0x8000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
####
done
Bytes transferred = 3869250 (3b0a42 hex)
Marvell>> saveenv
Saving Environment to NAND...
Erasing Nand...
Erasing at 0x40000 -- 100% complete.
Writing to Nand... done
Marvell>> tftpboot 0x2000000 uImage_kwplug
Using egiga0 device
TFTP from server 192.168.1.55; our IP address is 192.168.1.235
Filename 'uImage_kwplug'.
Load address: 0x2000000
Loading: #################################################################
#################################################################
####################################################
done
Bytes transferred = 2664248 (28a738 hex)
Marvell>> setenv bootargs console=ttyS0,115200 root=/dev/ram rw
Marvell>> bootm 0x2000000 0x8000000
## Booting kernel from Legacy Image at 02000000 ...
Image Name: Linux-2.6.33.2
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2664184 Bytes = 2.5 MB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 08000000 ...
Image Name: sheevaplug.initramfs
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 3869186 Bytes = 3.7 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

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

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
00000a63 Marvell GuruPlug Reference Board
0000085b QNAP TS-119/TS-219
000009c6 QNAP TS-41x
00000915 Marvell OpenRD Base Board
00000899 LaCie Network Space v2

Please check your kernel config and/or bootloader.


Would you like the kernel config included in the Ubuntu out-of-the-box install?
_________________
:D
Back to top
View user's profile Send private message
armin76
Retired Dev
Retired Dev


Joined: 24 Apr 2006
Posts: 174

PostPosted: Sun May 30, 2010 5:03 pm    Post subject: Reply with quote

Sorry i forgot about this.

Probably you need to upgrade uboot:
http://plugcomputer.org/plugforum/index.php?topic=1722.0
Back to top
View user's profile Send private message
searchingfortao
n00b
n00b


Joined: 03 Jun 2010
Posts: 12

PostPosted: Thu Jun 03, 2010 1:56 am    Post subject: Just reboots? Reply with quote

I tried following the howto here:
http://dev.gentoo.org/~armin76/arm/sheevaplug/install.xml

...that worked swimmingly on my old Sheevaplugs, but with my new Guruplug it just loads the various bits from the TFTP server, and reboots itself:

Code:

Marvell>> setenv arcNumber 2097
Marvell>> setenv mainlineLinux yes
Marvell>> saveenv
Saving Environment to NAND...
Erasing Nand...
Erasing at 0x40000 -- 100% complete.
Writing to Nand... done
Marvell>> reset
resetting ...


U-Boot 2009.11-rc1-00602-g28a9c08-dirty (Feb 09 2010 - 18:15:21)
Marvell-Plug2L

SoC:   Kirkwood 88F6281_A0
DRAM:  512 MB
NAND:  512 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0, egiga1
88E1121 Initialized on egiga0
88E1121 Initialized on egiga1
Hit any key to stop autoboot:  0
Marvell>> tftpboot 0x8000000 sheevaplug.initramfs
Using egiga0 device
TFTP from server 192.168.1.10; our IP address is 192.168.1.15
Filename 'sheevaplug.initramfs'.
Load address: 0x8000000
Loading: #################################################################
            #################################################################
            #################################################################
            #################################################################
            ####
done
Bytes transferred = 3869250 (3b0a42 hex)
Marvell>> tftpboot 0x2000000 uImage_kwplug
Using egiga0 device
TFTP from server 192.168.1.10; our IP address is 192.168.1.15
Filename 'uImage_kwplug'.
Load address: 0x2000000
Loading: #################################################################
            #################################################################
            ####################################################
done
Bytes transferred = 2664248 (28a738 hex)
Marvell>> setenv bootargs console=ttyS0,115200 root=/dev/ram rw
Marvell>> bootm 0x2000000 0x8000000
## Booting kernel from Legacy Image at 02000000 ...
   Image Name:   Linux-2.6.33.2
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2664184 Bytes =  2.5 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 08000000 ...
   Image Name:   sheevaplug.initramfs
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    3869186 Bytes =  3.7 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux...

U-Boot 2009.11-rc1-00602-g28a9c08-dirty (Feb 09 2010 - 18:15:21)
Marvell-Plug2L

SoC:   Kirkwood 88F6281_A0
DRAM:  512 MB
NAND:  512 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0, egiga1
88E1121 Initialized on egiga0
88E1121 Initialized on egiga1
Hit any key to stop autoboot:  0


Since this kind of thing usually begets requests for the output of printenv, I'll include that too:

Code:

Marvell>> printenv
bootdelay=3
baudrate=115200
x_bootcmd_ethernet=ping 192.168.2.1
x_bootcmd_usb=usb start
x_bootcmd_kernel=nand read.e 0x6400000 0x100000 0x400000
x_bootargs=console=ttyS0,115200
x_bootargs_root=ubi.mtd=2 root=ubi0:rootfs rootfstype=ubifs
ethaddr=00:50:43:01:81:24
eth1addr=00:50:43:01:81:25
rootpath=/sheevaplug/home
image_name=uImage.sheeva.040309
bootargs_root=root=/dev/nfs rw
bootcmd=tftpboot 0x2000000 $(image_name);setenv bootargs $(console) $(bootargs_root) nfsroot=$(serverip):$(rootpath) ip=$(ipaddr):$(serverip)$(bo0
ipaddr=192.168.1.15
serverip=192.168.1.10
ethact=egiga0
arcNumber=2097
mainlineLinux=yes
stdin=serial
stdout=serial
stderr=serial

Environment size: 683/131068 bytes
Back to top
View user's profile Send private message
armin76
Retired Dev
Retired Dev


Joined: 24 Apr 2006
Posts: 174

PostPosted: Thu Jun 03, 2010 5:02 pm    Post subject: Reply with quote

@searchingfortao: Did you upgrade u-boot?

Try not setting the arcNumber stuff.

Doing this blindly is a bit hard :(
Back to top
View user's profile Send private message
searchingfortao
n00b
n00b


Joined: 03 Jun 2010
Posts: 12

PostPosted: Thu Jun 03, 2010 5:48 pm    Post subject: Reply with quote

I'm sorry, I went through the process and thought that I was having a new problem unrelated to the u-boot upgrade but still in the same train of thought. Turns out that I had the "image_name" set to the wrong thing (no idea why) and that got me to the same spot as everyone else on this thread.

I haven't found an adequate howto for upgrading u-boot though. I can't get into the factory-shipped O/S (ubuntu) 'cause I can't remember the environment variables to do it, so I'm left with trying to do it with USB or TFTP. The howto I found though appear to be for an even older version of u-boot since it referred to using a command called "bubt" which doesn't appear to exist in the version I'm using. Can you point me to a good tutorial somewhere?
Back to top
View user's profile Send private message
armin76
Retired Dev
Retired Dev


Joined: 24 Apr 2006
Posts: 174

PostPosted: Fri Jun 04, 2010 6:49 pm    Post subject: Reply with quote

Try following these instructions:
http://bzed.de//posts/2010/05/installing_debian_on_the_guruplug_server_plus/
Back to top
View user's profile Send private message
dilfridge
Developer
Developer


Joined: 18 Sep 2010
Posts: 120
Location: Regensburg, Germany

PostPosted: Sat Oct 16, 2010 3:15 pm    Post subject: Solution (easy u-boot update) Reply with quote

The solution is actually quite simple, I just used this here and afterwards booted my new GuruPlug without problems. Do the following steps after setting up the IP adresses:

    * Download the updated uboot image, uboot.guruplug.bin, from http://www.plugcomputer.org/index.php/us/resources/downloads?func=select&id=15
    * Place it in your tftpd directory
    * Load it on the guruplug and write it into flash:
    Code:
     tftp 0x6400000 uboot.guruplug.bin
     nand erase 0x0 0x100000
     nand write.e 0x6400000 0x0 0x100000

    * After the uboot burning is done, reset the board
    Code:
     reset

    * Then, you may have to set and save all the environment variables again

Afterwards, your GuruPlug should boot with Armin76's kernel.

The source for the instructions is http://plugcomputer.org/plugwiki/index.php/Reflashing_images_on_the_GuruPlug, last section...
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