• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1] 2
Author Topic: 2.6.30.6 new release  (Read 7943 times)
cbxbiker61
Global Moderator
Sr. Member
*****

Karma: 38
Posts: 497


View Profile
« on: September 09, 2009, 07:35:51 PM »

2.6.30.6 is now available.

Kernel and modules are available from the following locations:

IPV4: http://sheeva.with-linux.com/sheeva/

IPV6: http://sheeva6.with-linux.com/sheeva/

Features IPV6, CIFS, NFS4, EXT3, EXT4, JFS, XFS, FUSE(for ntfs-3g), UBIFS, usb-serial, uvcvideo, iptables, appletalk, bluetooth, v4l and ppp.
Logged

wergio
Newbie
*

Karma: 1
Posts: 5


View Profile
« Reply #1 on: September 10, 2009, 04:00:37 AM »

Hi, sorry for this dumb question but I'm a total newbie!
This releases are for "normal" plug, or plug modified with "sheevaplug installer alpha-6"?
thanks
Logged

mike
Jr. Member
**

Karma: 2
Posts: 55


View Profile
« Reply #2 on: September 10, 2009, 07:39:18 AM »

Hi,

Thanks! What should the u-boot bootcmd look like to use this?

Mike
Logged

mike
Jr. Member
**

Karma: 2
Posts: 55


View Profile
« Reply #3 on: September 10, 2009, 09:20:38 AM »

Hi,

I think I can answer my own question...

This works, I think:

bootargs=rootfstype=jffs2 console=ttyS0,115200 mtdparts=orion_nand:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) rw root=/dev/mtdblock1 rw ip=192.168.1.9:192.168.1.4:192.168.1.4:255.255.255.0:DB88FXX81:eth0:none

bootcmd=nand read.e 0x00800000 0x00100000 0x00400000; bootm 0x00800000


Thanks,
Mike
Logged

cbxbiker61
Global Moderator
Sr. Member
*****

Karma: 38
Posts: 497


View Profile
« Reply #4 on: September 10, 2009, 01:35:04 PM »

Hi, sorry for this dumb question but I'm a total newbie!
This releases are for "normal" plug, or plug modified with "sheevaplug installer alpha-6"?
thanks

Any Sheeva plug can use the kernels.  The sheevaplug alpha-6 installer uses an earlier version of my kernel, so some of the steps in the README should already be done by the installer.
Logged

nephilim1973
Newbie
*

Karma: 0
Posts: 17


View Profile
« Reply #5 on: September 11, 2009, 07:24:27 AM »

I think, something is going wrong, here...

I'm using SheevaPlug, installed on MMC

After upgrading to 2.6.30.6, the old kernel 2.6.30.2 is booting.... :-(

Checking old kernel-version and executing README...
Code:
bjoern@ubuntu-miniserver:~$ uname -r
2.6.30.2
bjoern@ubuntu-miniserver:~$ cd temp/
bjoern@ubuntu-miniserver:~/temp$ ls
README-2.6.30.6                     sheeva-2.6.30.6-uImage
sheeva-2.6.30.6-Modules.tar.gz      sheeva-2.6.30.6-uImage.md5
sheeva-2.6.30.6-Modules.tar.gz.md5
bjoern@ubuntu-miniserver:~/temp$ sudo ./README-2.6.30.6
[sudo] password for bjoern:
Downloading files
Extracting modules
Flashing kernel
Erasing 128 Kibyte @ 3e0000 -- 96 % complete. Cleanmarker written at 3e0000.
Writing data to block 0
Writing data to block 20000
Writing data to block 40000
Writing data to block 60000
Writing data to block 80000
Writing data to block a0000
Writing data to block c0000
Writing data to block e0000
Writing data to block 100000
Writing data to block 120000
Writing data to block 140000
Writing data to block 160000
Writing data to block 180000
Writing data to block 1a0000
Writing data to block 1c0000
Writing data to block 1e0000
Writing data to block 200000
Writing data to block 220000
Writing data to block 240000
Writing data to block 260000
Writing data to block 280000
bjoern@ubuntu-miniserver:~/temp$

shutdown -r now

Code:
* Will now restart
Restarting system.

         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|
 ** MARVELL BOARD: SHEEVA PLUG LE

U-Boot 1.1.4 (Jul 19 2009 - 16:03:28) Marvell version: 3.4.19

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

Soc: 88F6281 A0 (DDR2)
CPU running @ 1200Mhz L2 running @ 400Mhz
SysClock = 400Mhz , TClock = 200Mhz

DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000   size 256MB
DRAM CS[1] base 0x10000000   size 256MB
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], egiga1
Hit any key to stop autoboot:  0
Marvell>> printenv
baudrate=115200
loads_echo=0
ipaddr=10.4.50.165
serverip=10.4.50.5
rootpath=/mnt/ARM_FS/
netmask=255.255.255.0
console=a0000
CASset=min
MALLOC_len=1
ethprime=egiga0
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
bootargs_root=root=/dev/mmcblk0p2 rootdelay=20
ethaddr=00:50:43:01:d6:e6
real_bootcmd=setenv bootargs $(bootargs_console) $(bootargs_root); mmcinit; ext2load mmc 0:1 0x800000 /uImage; bootm 0x00800000
bootargs_console=console=ttyS0,115200
recover1=setenv mainlineLinux yes; setenv arcNumber 2097; setenv bootcmd run recover2; saveenv; reset
recover2=run recover3; setenv bootcmd $(real_bootcmd); saveenv; setenv bootargs $(bootargs_console) root=/dev/ram0 rw ramdisk=0x01100000,8M install_type=mmc; bootm 0x00800000 0x01100000
recover3=usb start; fatload usb 0 0x00800000 uImage; fatload usb 0 0x01100000 initrd
arcNumber=2097
filesize=32D62A
bootcmd=setenv bootargs $(bootargs_console) $(bootargs_root); mmcinit; ext2load mmc 0:1 0x800000 /uImage; bootm 0x00800000
e=ttyS0,115200 mtdparts=orion_nand:0xc0000@0(uboot)ro,0x1ff00000@0x100000(root) rootfstype=jffs2
bootargs=rootfstype=jffs2 console=ttyS0,115200 mtdparts=orion_nand:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) rw root=/dev/mtdblock1 rw ip=192.168.1.9:192.168.1.4:192.168.1.4:255.255.255.0:DB88FXX81:eth0:none
stdin=serial
stdout=serial
stderr=serial
nandEnvBase=a0000
mainlineLinux=yes
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

Environment size: 2039/131068 bytes

After rebooting, old kernel 2.6.30.2 is starting...

What I have done wrong Huh

Best regards
Bjoern

PS: There is an existing /lib/modules/2.6.30.6 on SheevaPlug...
« Last Edit: September 11, 2009, 08:53:44 AM by nephilim1973 » Logged

DamonHD
Full Member
***

Karma: 4
Posts: 169


View Profile WWW
« Reply #6 on: September 11, 2009, 09:55:26 AM »

FWIW, I just tried to apply the instructions from:

http://www.openplug.org/plugwiki/index.php?title=Install_Prebuilt_Kernels_From_sheeva.with-linux.com

to my essentially out-of-the-box plug (I'd set the date, a static IP address that works on my LAN, fixed /etc/rc.local, and installed wget), and I now appear to be stuck here:

Reading data from 0x4ff800 -- 100% complete.
 4194304 bytes read: OK
## Booting image at 00800000 ...
   Image Name:   Linux-2.6.30.6
   Created:      2009-09-10   1:43:29 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2626524 Bytes =  2.5 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel


but nothing else happens...  Power-cycling brings me back to the same place...

Someone pass me a clue-stick?  B^>

Rgds

Damon

PS. More here: http://www.earth.org.uk/note-on-SheevaPlug-setup.html#setup
Logged

cbxbiker61
Global Moderator
Sr. Member
*****

Karma: 38
Posts: 497


View Profile
« Reply #7 on: September 11, 2009, 06:44:43 PM »

Code:
[quote author=nephilim1973 link=topic=711.msg4401#msg4401 date=1252679067]
I think, something is going wrong, here...

After upgrading to 2.6.30.6, the old kernel 2.6.30.2 is booting.... :-(

bootcmd=setenv bootargs $(bootargs_console) $(bootargs_root); mmcinit; ext2load mmc 0:1 0x800000 /uImage; bootm 0x00800000
e=ttyS0,115200 mtdparts=orion_nand:0xc0000@0(uboot)ro,0x1ff00000@0x100000(root) rootfstype=jffs2
bootargs=rootfstype=jffs2 console=ttyS0,115200 mtdparts=orion_nand:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) rw root=/dev/mtdblock1 rw ip=192.168.1.9:192.168.1.4:192.168.1.4:255.255.255.0:DB88FXX81:eth0:none
stdin=serial
stdout=serial
stderr=serial
nandEnvBase=a0000
mainlineLinux=yes
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

Environment size: 2039/131068 bytes

After rebooting, old kernel 2.6.30.2 is starting...

What I have done wrong Huh

PS: There is an existing /lib/modules/2.6.30.6 on SheevaPlug...
[/quote]

The README assumes the kernel is booted from NAND (a stock sheeva boot).  You're using ext2load to load the kernel from a filesystem.  Extract the uImage to your filesystem manually and update your bootcmd with the new uImage filename (unless you want to overwrite your existing /uImage).
Logged

cbxbiker61
Global Moderator
Sr. Member
*****

Karma: 38
Posts: 497


View Profile
« Reply #8 on: September 11, 2009, 06:57:33 PM »

FWIW, I just tried to apply the instructions from:

http://www.openplug.org/plugwiki/index.php?title=Install_Prebuilt_Kernels_From_sheeva.with-linux.com

but nothing else happens...  Power-cycling brings me back to the same place...

Sounds like either mainlineLinux or arcNumber aren't set.  Did you "saveenv" before "reset"?  From the main console do a "printenv" and make sure everthing is set as per step 10.
Logged

DamonHD
Full Member
***

Karma: 4
Posts: 169


View Profile WWW
« Reply #9 on: September 11, 2009, 07:22:30 PM »

I'm pretty sure that I did indeed 'saveenv' and the right values seem to be shown by printenv...

Rgds

Damon
« Last Edit: September 11, 2009, 07:25:50 PM by DamonHD » Logged

DamonHD
Full Member
***

Karma: 4
Posts: 169


View Profile WWW
« Reply #10 on: September 11, 2009, 07:32:07 PM »

Ta-da!

Thanks to you implicit encouragement that it *ought* to have worked I found a typo in my bootargs and got further...  Now getting a complaint about root= not being correctly defined, but I can work on that!

Rgds

Damon


...
VFS: Cannot open root device "mtdblock1" or unknown-block(31,1)
Please append a correct "root=" boot option; here are the available partitions:
1f00            1024 mtdblock0 (driver?)
1f01            4096 mtdblock1 (driver?)
1f02          519168 mtdblock2 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,1)
...
Logged

CqCn
Full Member
***

Karma: 0
Posts: 169



View Profile
« Reply #11 on: September 11, 2009, 08:03:34 PM »

Pardon me if this is out of topic here. While searching for it, I came across this thread.

I have done the alpha-6 kernel setup.  Now have moved the kernel and the rootfs to a SDCard and boot consistently from the SDCard (it is much faster boot).

Is there a recipe somewhere how I can upgrade my kernel to a 2.6.30.5 or .6 on the sdcard (without touching the kernel in my nand -- which is the alapha-6-- or anything else in the nand)?  I have some interest in trying wireless, bluetooth, etc.  I read that these might be beginning to work in the later kernels...  Thank you!
« Last Edit: September 11, 2009, 08:05:06 PM by CqCn » Logged

Cordially, CqCn

cbxbiker61
Global Moderator
Sr. Member
*****

Karma: 38
Posts: 497


View Profile
« Reply #12 on: September 11, 2009, 08:51:48 PM »

Pardon me if this is out of topic here. While searching for it, I came across this thread.

I have done the alpha-6 kernel setup.  Now have moved the kernel and the rootfs to a SDCard and boot consistently from the SDCard (it is much faster boot).

Is there a recipe somewhere how I can upgrade my kernel to a 2.6.30.5 or .6 on the sdcard (without touching the kernel in my nand -- which is the alapha-6-- or anything else in the nand)?  I have some interest in trying wireless, bluetooth, etc.  I read that these might be beginning to work in the later kernels...  Thank you!

As a convenience I've updated README-2.6.30.6 with a "--rootkernel" option that will write the kernel to to root without writing to nand.  You'll still need to update your bootcmd or create a symlink to /uImage.
Logged

CqCn
Full Member
***

Karma: 0
Posts: 169



View Profile
« Reply #13 on: September 11, 2009, 10:13:26 PM »

Thank you very much!
Logged

Cordially, CqCn

nephilim1973
Newbie
*

Karma: 0
Posts: 17


View Profile
« Reply #14 on: September 12, 2009, 05:13:41 AM »

Many thanks for the new "--rootkernel"-feature !

But there is still a little problem existing:

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

First, I want to know the settings from "bootcmd"....
Code:
Marvell>> printenv bootcmd
bootcmd=setenv bootargs $(bootargs_console) $(bootargs_root); mmcinit; ext2load mmc 0:1 0x800000 /uImage; bootm 0x00800000


Then, I try to change settings to the new uImage...
(sheeva-2.6.30.6-uImage exists in /  )
Code:
Marvell>> setenv bootcmd setenv bootargs $(bootargs_console) $(bootargs_root); mmcinit; ext2load mmc 0:1 0x800000 /sheeva-2.6.30.6-uImage; bootm 0x00800000

After hitting ENTER, error message appears...
Code:
SDHC found. Card desciption is:
Manufacturer:       0x02, OEM "TM"
Product name:       "SD04G", revision 3.8
Serial number:      3056159759
Manufacturing date: 12/2008
CRC:                0x00, b0 = 0

** Unable to read "/sheeva-2.6.30.6-uImage" from mmc 0:1 **
## Booting image at 00800000 ...
Bad Magic Number
Marvell>>

Probably I am just a step away from solution...   ;-)

Best regards
Bjoern

PS:

Quote from: cbxbiker61
You'll still need to update your bootcmd or create a symlink to /uImage.

There's no /uImage by default...
Doing a "find / -name *uImage*" shows nothing but sheeva-2.6.30.6-uImage   :-(

"ln -s /sheeva-2.6.30.6-uImage /uImage" does nothing better... still booting 2.6.30.2

"mmcinit" shows:
Code:
SDHC found. Card desciption is:
Manufacturer:       0x02, OEM "TM"
Product name:       "SD04G", revision 3.8
Serial number:      3056159759
Manufacturing date: 12/2008
CRC:                0x00, b0 = 0

Probably it should be mmc 0:0, and not mmc 0:1  Huh
« Last Edit: September 12, 2009, 05:36:32 AM by nephilim1973 » Logged

Pages: [1] 2
Print
Jump to: