badcam
Jr. Member

Karma: 1
Posts: 78
|
 |
« on: August 29, 2009, 03:39:18 PM » |
|
I've re-flashed the Sheeva with Alpha 6. Everything seems to be fine and I appear to have no errors on boot via the Uboot Mini USB. I've been able to install various programmes etc. I've been trying to move the files across to my SD Card following the Plug Wiki instructions here: http://plugcomputer.org/plugwiki/index.php/SD_Card_As_Root_File_SystemI get to the point where I have to issue the "shutdown -r now" command. The Wiki isn't completely clear as to just where this command is to be issued, ie from the SSH console or the serial console. But I assume that it's to be done from the serial connection. Now, I've followed this process before and was successful, but this time when I stop the U-boot with the Enter key and get to the "Marvell>>" prompt, I can't get the "printenv bootargs" command to work. I get this message: Marvell>> printenv bootargs ## Error: "bootargs" not defined Marvell>> I've tried, rebooting, starting from a cold start, issuing the "shutdown -r now" from the SSH console and then stopping the U-boot after that. Any ideas would be gratefully welcomed.
|
|
|
|
|
Logged
|
|
|
|
|
restamp
Global Moderator
Sr. Member
   
Karma: 4
Posts: 273
|
 |
« Reply #1 on: August 29, 2009, 04:16:16 PM » |
|
"shutdown -r now" is a Unix command. It can be entered either from the console, after logging in as root, or from an ssh login. However, it does require root privileges, so it won't work if you are not root.
"bootargs" is probably not defined. Do you perhaps want to print "bootcmd"?
|
|
|
|
|
Logged
|
|
|
|
|
badcam
Jr. Member

Karma: 1
Posts: 78
|
 |
« Reply #2 on: August 29, 2009, 04:26:25 PM » |
|
Hi restamp.
Perhaps you'd be kind enough to have a look at that thread in my first post where the instructions given say to use "shutdown -r now" and "printenv bootargs".
I should be in Root, I haven't set up any other users, so I can't see how I could be otherwise. I don't mean "bootcmd". I'm just trying to follow the step by step instructions in that thread.
Thanks.
|
|
|
|
|
Logged
|
|
|
|
|
restamp
Global Moderator
Sr. Member
   
Karma: 4
Posts: 273
|
 |
« Reply #3 on: August 29, 2009, 10:26:43 PM » |
|
I believe your main problem is that you are trying to follow instructions which were written for the default 2.6.22.18 load, and which were no doubt written before the alpha-6 installer was introduced. I checked my notes and there was a "bootargs" environment variable in that load. (And it was set as described in the wiki post.) There is no "bootargs" variable in the alpha-6 load -- it is created dynamically during the boot sequence -- so trying to print it out will fail. It would be best if you were to go back and read the wiki article for comprehension and then figure out the equivalent changes to make in the alpha-6 load to have the same effect as the wiki's changes to "bootargs". If you just want the nitty-gritty, take a look at "bootargs_root". If you find it set as follows: bootargs_root=ubi.mtd=1 root=ubi0:rootfs rootfstype=ubifs then you might try changing it to: bootargs_root=root=/dev/mmcblk0p1 rw,relatime Then to work around another latent bug, you might also add an "mmcinit" to the mix: bootcmd=setenv bootargs $(bootargs_console) $(mtdpartitions) $(bootargs_root); mmcinit; nand read.e 0x00800000 0x00100000 0x00400000; bootm 0x00800000 Of course, you'd set these via the following commands: setenv bootargs_root 'root=/dev/mmcblk0p1 rw,relatime' setenv bootcmd 'setenv bootargs $(bootargs_console) $(mtdpartitions) $(bootargs_root); mmcinit; nand read.e 0x00800000 0x00100000 0x00400000; bootm 0x00800000' saveenv I'm relying on memory here, so I can't guarantee this everything required to make this work, but it's a starting point. Good luck.
|
|
|
|
« Last Edit: August 29, 2009, 10:31:28 PM by restamp »
|
Logged
|
|
|
|
|
badcam
Jr. Member

Karma: 1
Posts: 78
|
 |
« Reply #4 on: August 31, 2009, 02:03:51 AM » |
|
I'm lost. I've tried and tried and tried.
I know that the SD Card is set up with the Nand files. But I just can't get the bootargs_root to change. I have alpha 6 installed.
I've tried both your suggestions retamp of this:
setenv bootargs_root 'root=/dev/mmcblk0p1 rw,relatime' setenv bootcmd 'setenv bootargs $(bootargs_console) $(mtdpartitions) $(bootargs_root); mmcinit; nand read.e 0x00800000 0x00100000 0x00400000; bootm 0x00800000' saveenv
and the wiki's command under the "Changes for Alpha6 Beta".
Right now I'm getting this message (one of many similar variations):
VFS: Cannot open root device "b301" or unknown-block(179,1) Please append a correct "root=" boot option; here are the available partitions: 1f00 4096 mtdblock0 (driver?) 1f01 519168 mtdblock1 (driver?) Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,1) [<c00309c0>] (unwind_backtrace+0x0/0xe0) from [<c003db20>] (panic+0x50/0x120) [<c003db20>] (panic+0x50/0x120) from [<c0008ec4>] (mount_block_root+0x1d4/0x214) [<c0008ec4>] (mount_block_root+0x1d4/0x214) from [<c000916c>] (prepare_namespace+0x16c/0x1c4) [<c000916c>] (prepare_namespace+0x16c/0x1c4) from [<c0008734>] (kernel_init+0xc0/0xec) [<c0008734>] (kernel_init+0xc0/0xec) from [<c0040b18>] (do_exit+0x0/0x6ac)
and for which this command is suggested as a possible fix:
setenv bootcmd 'mmcinit; setenv bootargs $(bootargs_console) $(mtdpartitions) $(bootargs_root); nand read.e 0x00800000 0x00100000 0x00400000; bootm 0x00800000'
That hasn't worked for me. The kernel panic I just posted is after having tried that command.
I'm stuck. Am I supposed to go through the whole process ie from fdisk /dev/mmcblk0 to shutdown -r now, every time I wish to try and change bootargs_root, or if not, do I still have to mount the SD card each time?
How can I at least get back to booting off of the nand from this point without having to re-flash the Nand? That seems to be a relatively easy & painless process in comparison to just getting the SD card to take.
Any advice would be most welcome.
Also, on a couple of my attempts I also got this message (if it helps):
Error! cmd : 8, err : 0201
|
|
|
|
|
Logged
|
|
|
|
|
badcam
Jr. Member

Karma: 1
Posts: 78
|
 |
« Reply #5 on: August 31, 2009, 02:20:54 AM » |
|
I've just found this link (restamp posted it in another thread): http://www.openplug.org/plugwiki/index.php/Multi-BootIdeally, I'd like to be able to set this up, so that I can always resort back to the Nand if necessary, but run off of the SD Card most of the time. Thanks anyway. I apologise if I aren't being very clear in my posts.
|
|
|
|
|
Logged
|
|
|
|
|
restamp
Global Moderator
Sr. Member
   
Karma: 4
Posts: 273
|
 |
« Reply #6 on: August 31, 2009, 11:35:39 AM » |
|
It doesn't look like it's seeing the SDcard on boot. I'm presuming you were able to access the SDcard to mount and populate when you had a vanilla alpha-6 load running from the Plug's NAND, right?
1. What type of file system did you create on your SDcard? (ext2? ext3?)
2. If you interrrupt the Uboot and issue a manual mmcinit, followed by an ext2ls mmc 0 /, can you see the filesystem from the Uboot?
|
|
|
|
|
Logged
|
|
|
|
|
CqCn
Full Member
 
Karma: 0
Posts: 169
|
 |
« Reply #7 on: August 31, 2009, 12:11:39 PM » |
|
badcam: I've tried both your suggestions retamp of this:
setenv bootargs_root 'root=/dev/mmcblk0p1 rw,relatime' setenv bootcmd 'setenv bootargs $(bootargs_console) $(mtdpartitions) $(bootargs_root); mmcinit; nand read.e 0x00800000 0x00100000 0x00400000; bootm 0x00800000' saveenv badcam, I assume: You did the alpha-6 upgrade, and then copied the rootfs to your sdcard, and the kernel remains in the nand? That is what I did, and for me I get the same error as yours with some sdcards. I found by adding 10 sec delay works for me, some cards will work with 5 secs, a few work with no delay at all. It is the higher density newer/faster cards that appear to need the delay here! My changed line is: setenv bootargs_root 'rootdelay=10 root=/dev/mmcblk0p1'
|
|
|
|
|
Logged
|
Cordially, CqCn
|
|
|
|
badcam
Jr. Member

Karma: 1
Posts: 78
|
 |
« Reply #8 on: August 31, 2009, 12:37:05 PM » |
|
It doesn't look like it's seeing the SDcard on boot. I'm presuming you were able to access the SDcard to mount and populate when you had a vanilla alpha-6 load running from the Plug's NAND, right?
Yes.Alpha6 was up and running fine. I've managed to do the Alpha6 install several times now. I did experience the "Bad Magic Number" error a few times, but a re-format of the USB stick solves that for me (An Aside: I wonder if somehow the install corrupts something on the stick each time it's run?). 1. What type of file system did you create on your SDcard? (ext2? ext3?)
Ext2 - I haven't tried Ext3 as I've been reading here that Ext2 seems to be less wearing on the cards. I have tried three other cards though, all Kingstons and Transcends. 2. If you interrrupt the Uboot and issue a manual mmcinit, followed by an ext2ls mmc 0 /, can you see the filesystem from the Uboot?
Marvell>> mmcinit ext2ls mmc 0 / Usage: mmcinit - init mmc card
|
|
|
|
|
Logged
|
|
|
|
|
badcam
Jr. Member

Karma: 1
Posts: 78
|
 |
« Reply #9 on: August 31, 2009, 01:02:44 PM » |
|
I assume: You did the alpha-6 upgrade, and then copied the rootfs to your sdcard, and the kernel remains in the nand?
Yes. Alpha6 the card has the rootfs files and they're still on the Nand as well. That is what I did, and for me I get the same error as yours with some sdcards.
I found by adding 10 sec delay works for me, some cards will work with 5 secs, a few work with no delay at all. It is the higher density newer/faster cards that appear to need the delay here! My changed line is: setenv bootargs_root 'rootdelay=10 root=/dev/mmcblk0p1'
I've tried your suggestion and restamps "mmcinit" command (input before your suggestions) and now I get this upon restart: À __ __ _ _ | : 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 Flash: 0 kB Addresses 8M - 0M are saved for the U-Boot usage. Mem malloc Initialization (8M - 7M): Done NAND:512 MB
CPU : Marvell Feroceon (Rev 1)
USB 0: host mode PEX 0: interface detected no Link. Net: egiga0 [PRIME], egiga1 Hit any key to stop autoboot: 0 SD found. Card desciption is: Manufacturer: 0x02, OEM "TM" Product name: "SD02G", revision 2.8 Serial number: 2717622379 Manufacturing date: 12/2006 CRC: 0x00, b0 = 0
NAND read: device 0 offset 0x100000, size 0x400000
Reading data from 0x251800 -- 33% complete.Reading data from 0x25c000 -- 34% c omplete. 0x266000 -- 35% complete.eading data from 0x270800 -- 36% complete.0x 27a800 -- 37% complete.ading data from 0x285000 -- 38% complete.x28f000 -- 39 % complete.ding data from 0x299800 -- 40% complete.2a3800 -- 41% complete.ding data from 0x2ae000 -- 42% complete.ing data from 0x2c2800 -- 44% complete.c800 -- 45% complete.ng data from 0x2d7000 -- 46% complete.000Reading data from 0x4ff800 -- 100% complete. complete.e..te.- 49% complete.te.00 -- 51% complete.e.0 -- 53% complete.. -- 55% complete. 4194304 bytes read: OK ## Booting image at 00800000 ... Image Name: Linux-2.6.30-rc6 Created: 2009-05-20 11:42:10 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2595144 Bytes = 2.5 MB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK .................................................................................................6.30-rc6 (kelly@speedy) (gcc version 4.2.1) #2 PREEMPT Wed May 20 05:42:04 MDT 2009 CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053177 CPU: VIVT data cache, VIVT instruction cache Machine: Marvell SheevaPlug Reference Board Memory policy: ECC disabled, Data cache writeback Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048 Kernel command line: console=ttyS0,115200 mtdparts=orion_nand:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) rootdela) Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok net_namespace: 980 bytes NET: Registered protocol family 16 Kirkwood: MV88F6281-A0, TCLK=200000000. Feroceon L2: Enabling L2 Feroceon L2: Cache support initialised. Kirkwood: Gating clock using mask 0x1ac224 bio: create slab <bio-0> at 0 SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb cfg80z), (600 mBi, 3000 mBm) cfg80211: Calling CRDA for country: US NET: Registered protocol family 2 IP route cache hash table entries: 16384 (order: 4, 65536 bytes) TCP established hash table entries: 65536 (order: 7, 524288 bytes) TCP bind hash table entries: 65536 (order: 6, 262144 bytes) TCP: Hash tables configured (established 65536 bind 65536) TCP reno registered NET: Registered protocol family 1 JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc. JFS: nTxBlock = 4013, nTxLock =ion 1.4 mv643xx_eth smi: probed net eth0: port 0 with MAC address 00:62:81:a0:00:00 libertas_sdio: Libertas SDIO driver libertas_sdio: Copyright Pierre Ossman NAND device: Manufacturer ID: 0xad, Chip ID: 0xdc (Hynix NAND 512MiB 3,3V 8-bit) Scanning device for bad blocks orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000 orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.iver ums-sddr55 mice: PS/2 mouse device common for all mice rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0 i2c /dev entries driver cpuidle: using governor ladder cpuidle: using governor menu sdhci: Secure Digital Host Controller Interface driver sdhci: Copyright(c) Pierre Ossman mmc0: mvsdio driver initialized, lacking card detect (fall back to polling) Registered led device: plug:green:health mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver mv_xor_shared mv_xor_sharedmv_xor mv_xor.0: Marvell XOR: ( xor cpy ) mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy ) usbcore: registered new interface driver usbhid usbhid: v2.6:USB HID core driver oprofile: using timer interrupt. TCP cubic registered NET: Registered protocol family 17 RPC: Registered udp transport module. RPC: Registered tcp transport module. lib80211: common routines for IEEE802.11 drivers rtc-mv rtc-mv: setting system clock to 2009-08-31 19:26:14 UTC (1251746774) Waiting 10sec before mounting root device... VFS: Mounted root (vfat filesystem) on device 179:1. Freeing init memory: 140K Warning: unable to open an initial console. Kernel panic - not syncing: No init found. Try passing init= option to kernel. [<c00309c0>] (unwind_backtrace+0x0/0xe0) from [<c003db20>] (panic+0x50/0x120) [<c003db20>] (panic+0x50/0x120) from [<c002b53c>] (init_post+0xd4/0xfc) [<c002b53c>] (init_post+0xd4/0xfc) from [<c0008738>] (kernel_init+0xc4/0xec) [<c0008738>] (kernel_init+0xc4/0xec) from [<c0040b18>] (do_exit+0x0/0x6ac)
It seems to be seeing the SD Card now, so that's good. Where to now?  Thanks for your help, by the way.
|
|
|
|
|
Logged
|
|
|
|
|
restamp
Global Moderator
Sr. Member
   
Karma: 4
Posts: 273
|
 |
« Reply #10 on: August 31, 2009, 01:28:24 PM » |
|
Marvell>> mmcinit ext2ls mmc 0 / Usage: mmcinit - init mmc card
Try making two commands out of it: Marvell>> mmcinit ... Marvell>> ext2ls mmc 0 /
|
|
|
|
|
Logged
|
|
|
|
|
badcam
Jr. Member

Karma: 1
Posts: 78
|
 |
« Reply #11 on: August 31, 2009, 03:00:57 PM » |
|
Marvell>> mmcinit Error! cmd : 8, err : 0201 SD found. Card desciption is: Manufacturer: 0x02, OEM "TM" Product name: "SD02G", revision 2.8 Serial number: 2717622379 Manufacturing date: 12/2006 CRC: 0x00, b0 = 0 Marvell>> ext2ls mmc 0 / Failed to mount ext2 filesystem... ** Bad ext2 partition or disk - mmc 0:1 ** Marvell>> Erk! Thanks for that. As you can tell, I'm a "copy & paster" and an enthusiast of Linux, a dabble, rather than someone who knows what they're doing.  Still, it's fun though.  So, I guess I have a corrupt SD(s)? I'm using Puppy Linux. I pre-formatted them all to Ext2 prior to using them in the Sheeva and setting them up with the "fdisk /dev/mmcblk0 " command. Can I still recover this (these) SD Cards or should I buy a new one? Also, I guess I'm going to have to re-flash the Sheeva, so I can SSH into Root. But if possible, is there an easy fix to get my Sheeva booting from the Nand instead of the re-install? Thanks for your patience with me. 
|
|
|
|
|
Logged
|
|
|
|
|
restamp
Global Moderator
Sr. Member
   
Karma: 4
Posts: 273
|
 |
« Reply #12 on: August 31, 2009, 03:54:48 PM » |
|
Your SDcard may well be OK. The Plug seems to be finicky about some of them. To boot from NAND, you'll have to back out what you've changed. I'd try setting the bootargs_root back to what it was initially: setenv bootargs_root 'ubi.mtd=1 root=ubi0:rootfs rootfstype=ubifs' and see if it boots. If so, try mounting you SDcard partition from the Unix running on your Plug. (It should work, right? Didn't you populate the SDcard partition from the root fs on the plug initially?) If not, well, sometimes it's easier just to start from ground zero (rerun alpha-6). Good luck. BTW, I've always run an fdisk / mkfs from the Plug itself, although I don't have any reason to believe Puppy Linux would do anything differently that would cause it not to work.
|
|
|
|
|
Logged
|
|
|
|
|
badcam
Jr. Member

Karma: 1
Posts: 78
|
 |
« Reply #13 on: August 31, 2009, 06:11:35 PM » |
|
Hooray! It's worked. I believe. I tried another SD Card (I've since bought a Sandisk Ultra II which I hope will be of better quality). If you would be so kind as to check out my console details. I've actually included everything from woah to go: Last login: Tue Sep 1 00:05:39 UTC 2009 on ttyS0 Linux ubuntu 2.6.30-rc6 #2 PREEMPT Wed May 20 05:42:04 MDT 2009 armv5tel
The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright.
Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law.
To access official Ubuntu documentation, please visit: http://help.ubuntu.com/ root@ubuntu:~# fdisk /dev/mmcblk0
The number of cylinders for this disk is set to 1817. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): o Building a new DOS disklabel with disk identifier 0xe84bfa58. Changes will remain in memory only, until you decide to write them. After that, of course, the previous content won't be recoverable.
The number of cylinders for this disk is set to 1817. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 1 First cylinder (1-1817, default 1): Using default value 1 Last cylinder, +cylinders or +size{K,M,G} (1-1817, default 1817): Using default value 1817
Command (m for help): a Partition number (1-4): 1
Command (m for help): w The partition table has been altered!
Calling ioctl() to re-read partition table. Syncing disks. root@ubuntu:~# mkfs -t ext2 /dev/mmcblk0p1 mke2fs 1.41.4 (27-Jan-2009) Filesystem label= OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2) 122880 inodes, 491038 blocks 24551 blocks (5.00%) reserved for the super user First data block=0 Maximum filesystem blocks=503316480 15 block groups 32768 blocks per group, 32768 fragments per group 8192 inodes per group Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912
Writing inode tables: done Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 31 mounts or 180 days, whichever comes first. Use tune2fs -c or -i to override. root@ubuntu:~# mount /dev/mmcblk0p1 /mnt/sdcard root@ubuntu:~# df Filesystem 1K-blocks Used Available Use% Mounted on tmpfs 256904 0 256904 0% /lib/init/rw varrun 256904 36 256868 1% /var/run varlock 256904 0 256904 0% /var/lock udev 256904 112 256792 1% /dev tmpfs 256904 0 256904 0% /dev/shm rootfs 472732 202260 265636 44% / /dev/mmcblk0p1 1933264 2880 1832180 1% /mnt/sdcard root@ubuntu:~# cp -ax / /mnt/sdcard root@ubuntu:~# cp -a /dev /mnt/sdcard root@ubuntu:~# df Filesystem 1K-blocks Used Available Use% Mounted on tmpfs 256904 0 256904 0% /lib/init/rw varrun 256904 36 256868 1% /var/run varlock 256904 0 256904 0% /var/lock udev 256904 112 256792 1% /dev tmpfs 256904 0 256904 0% /dev/shm rootfs 472732 202260 265636 44% / /dev/mmcblk0p1 1933264 320272 1514788 18% /mnt/sdcard
root@ubuntu:~# shutdown -r now
Broadcast message from root@ubuntu (/dev/ttyS0) at 0:58 ...
The system is going down for reboot NOW! * Saving the system clock * Asking all remaining processes to terminate... [ OK ] * All processes ended within 2 seconds.... [ OK ] * Deconfiguring network interfaces... [ OK ] * Deactivating swap... [ OK ] * Stopping remaining crypto disks... [ OK ] * Stopping early crypto disks... [ OK ] * Will now restart Restarting system. À __ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__| ** MARVELL BOARD: SHEEVA PLUG LE
U-Boot 1.1.4 (May 13 2009 - 13:10:52) Marvell version: 3.4.16
U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006CF100
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 Flash: 0 kB Addresses 8M - 0M are saved for the U-Boot usage. Mem malloc Initialization (8M - 7M): Done NAND:512 MB
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>> mmcinit Error! cmd : 8, err : 0201 SD found. Card desciption is: Manufacturer: 0x1c, OEM "SV" Product name: "SDC ", revision 1.0 Serial number: 972827597 Manufacturing date: 8/2008 CRC: 0x00, b0 = 0 Marvell>> ext2ls mmc 0 / <DIR> 4096 . <DIR> 4096 .. <DIR> 16384 lost+found <DIR> 4096 bin <DIR> 4096 dev <DIR> 4096 etc <DIR> 4096 lib <DIR> 4096 mnt <DIR> 4096 opt <DIR> 4096 srv <DIR> 4096 tmp <DIR> 4096 sys <DIR> 4096 var <DIR> 4096 usr <DIR> 4096 boot <DIR> 4096 home <DIR> 4096 proc <DIR> 4096 sbin <DIR> 4096 root <DIR> 4096 media <DIR> 4096 selinux Marvell>> setenv bootargs_root 'root=/dev/mmcblk0p1 rw,relatime' Marvell>> setenv bootcmd 'setenv bootargs $(bootargs_console) $(mtdpartitions) $(bootargs_root); mmcinit; nand read.e 0x00800000 0x00100000 0x00400000; bootm 0x00800000' Marvell>> saveenv Saving Environment to NAND... Erasing Nand...Writing to Nand... done Marvell>>boot Error! cmd : 8, err : 0201 SD found. Card desciption is: Manufacturer: 0x1c, OEM "SV" Product name: "SDC ", revision 1.0 Serial number: 972827597 Manufacturing date: 8/2008 CRC: 0x00, b0 = 0
NAND read: device 0 offset 0x100000, size 0x400000
Reading data from 0x4ff800 -- 100% complete. 4194304 bytes read: OK ## Booting image at 00800000 ... Image Name: Linux-2.6.30-rc6 Created: 2009-05-20 11:42:10 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2595144 Bytes = 2.5 MB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel. Linux version 2.6.30-rc6 (kelly@speedy) (gcc version 4.2.1) #2 PREEMPT Wed May 20 05:42:04 MDT 2009 CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053177 CPU: VIVT data cache, VIVT instruction cache Machine: Marvell SheevaPlug Reference Board Memory policy: ECC disabled, Data cache writeback Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048 Kernel command line: console=ttyS0,115200 mtdparts=orion_nand:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) root=/dev/mmcblk0p1 rw,relatime NR_IRQS:114 PID hash table entries: 2048 (order: 11, 8192 bytes) Console: colour dummy device 80x30 Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) Memory: 256MB 256MB = 512MB total Memory: 513408KB available (4680K code, 998K data, 140K init, 0K highmem) SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 Calibrating delay loop... 1192.75 BogoMIPS (lpj=5963776) Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok net_namespace: 980 bytes NET: Registered protocol family 16 Kirkwood: MV88F6281-A0, TCLK=200000000. Feroceon L2: Enabling L2 Feroceon L2: Cache support initialised. Kirkwood: Gating clock using mask 0x1ac224 bio: create slab <bio-0> at 0 SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb cfg80211: Using static regulatory domain info cfg80211: Regulatory domain: US (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) (2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm) (5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) (5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) (5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) (5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) (5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm) cfg80211: Calling CRDA for country: US NET: Registered protocol family 2 IP route cache hash table entries: 16384 (order: 4, 65536 bytes) TCP established hash table entries: 65536 (order: 7, 524288 bytes) TCP bind hash table entries: 65536 (order: 6, 262144 bytes) TCP: Hash tables configured (established 65536 bind 65536) TCP reno registered NET: Registered protocol family 1 JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc. JFS: nTxBlock = 4013, nTxLock = 32104 msgmni has been set to 1003 alg: No test for stdrng (krng) io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered (default) Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A console [ttyS0] enabled brd: module loaded loop: module loaded Driver 'sd' needs updating - please use bus_type methods MV-643xx 10/100/1000 ethernet driver version 1.4 mv643xx_eth smi: probed net eth0: port 0 with MAC address 00:62:81:a0:00:00 libertas_sdio: Libertas SDIO driver libertas_sdio: Copyright Pierre Ossman NAND device: Manufacturer ID: 0xad, Chip ID: 0xdc (Hynix NAND 512MiB 3,3V 8-bit) Scanning device for bad blocks Bad eraseblock 3968 at 0x00001f000000 Bad eraseblock 4015 at 0x00001f5e0000 2 cmdlinepart partitions found on MTD device orion_nand Creating 2 MTD partitions on "orion_nand": 0x000000100000-0x000000500000 : "uImage" 0x000000500000-0x000020000000 : "rootfs" ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver orion-ehci orion-ehci.0: Marvell Orion EHCI orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1 orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000 orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00 usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected Initializing USB Mass Storage driver... usbcore: registered new interface driver usb-storage USB Mass Storage support registered. usbcore: registered new interface driver ums-datafab usbcore: registered new interface driver ums-freecom usbcore: registered new interface driver ums-jumpshot usbcore: registered new interface driver ums-sddr09 usbcore: registered new interface driver ums-sddr55 mice: PS/2 mouse device common for all mice rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0 i2c /dev entries driver cpuidle: using governor ladder cpuidle: using governor menu sdhci: Secure Digital Host Controller Interface driver sdhci: Copyright(c) Pierre Ossman mmc0: mvsdio driver initialized, lacking card detect (fall back to polling) Registered led device: plug:green:health mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver mv_xor mv_xor.0: Marvell XOR: ( xor cpy ) mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy ) mv_xor mv_xor.2: Marvell XOR: ( xor cpy ) mmc0: host does not support reading read-only switch. assuming write-enable. mmc0: new high speed SD card at address 0002 mmcblk0: mmc0:0002 SDC 1.87 GiB mmcblk0: p1 mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy ) usbcore: registered new interface driver usbhid usbhid: v2.6:USB HID core driver oprofile: using timer interrupt. TCP cubic registered NET: Registered protocol family 17 RPC: Registered udp transport module. RPC: Registered tcp transport module. lib80211: common routines for IEEE802.11 drivers rtc-mv rtc-mv: setting system clock to 2009-09-01 01:03:49 UTC (1251767029) EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended VFS: Mounted root (ext2 filesystem) on device 179:1. Freeing init memory: 140K * Filesystem type 'fusectl' is not supported. Skipping mount. * Setting preliminary keymap... [ OK ] * Starting kernel event manager... [ OK ] * Loading hardware drivers... [ OK ] * Loading kernel modules... * Loading manual drivers... [ OK ] * Setting kernel variables (/etc/sysctl.conf)... Unknown HZ value! (93) Assume 100. [ OK ] * Setting kernel variables (/etc/sysctl.d/10-console-messages.conf)... Unknown HZ value! (93) Assume 100. [ OK ] * Setting kernel variables (/etc/sysctl.d/10-network-security.conf)... Unknown HZ value! (93) Assume 100. [ OK ] * Activating swap... [ OK ] * Starting early crypto disks... [ OK ] * Starting remaining crypto disks... [ OK ] * Checking file systems... fsck 1.41.4 (27-Jan-2009) [ OK ] * Mounting local filesystems... [ OK ] * Activating swapfile swap... [ OK ] * Configuring network interfaces... [ OK ] * Setting up console font and keymap... [ OK ] * Starting system log daemon... [ OK ] * Starting kernel log daemon... [ OK ] * Starting OpenBSD Secure Shell server sshd Ubuntu 9.04 ubuntu ttyS0
ubuntu login: [ OK ] * Starting periodic command scheduler crond [ OK ]root Password: Last login: Tue Sep 1 00:47:47 UTC 2009 on ttyS0 Linux ubuntu 2.6.30-rc6 #2 PREEMPT Wed May 20 05:42:04 MDT 2009 armv5tel
The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright.
Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law.
To access official Ubuntu documentation, please visit: http://help.ubuntu.com/ root@ubuntu:~# df Filesystem 1K-blocks Used Available Use% Mounted on tmpfs 256904 0 256904 0% /lib/init/rw varrun 256904 36 256868 1% /var/run varlock 256904 0 256904 0% /var/lock udev 256904 112 256792 1% /dev tmpfs 256904 0 256904 0% /dev/shm rootfs 1933264 320308 1514752 18% / root@ubuntu:~#
I can probably do all this with my eyes closed now  So what do you think?
|
|
|
|
|
Logged
|
|
|
|
|
restamp
Global Moderator
Sr. Member
   
Karma: 4
Posts: 273
|
 |
« Reply #14 on: August 31, 2009, 08:31:52 PM » |
|
Looks good to me. Congrats on your success!
|
|
|
|
|
Logged
|
|
|
|
|
|