• Home
  • Help
  • Search
  • Login
  • Register
  Show Posts
Pages: 1 [2] 3
16  General Category / General Discussion / Re: SD root filesystem flies! on: April 25, 2009, 07:00:20 PM
I figured my one out by compiling SDHCI-Support into the kernel.....  Roll Eyes

Regarding your problem, do you have /dev/ttyS0?
17  General Category / General Discussion / Re: SD root filesystem flies! on: April 25, 2009, 06:21:38 PM
All you need to do is:

"cp -ax / /Whereever/SdIsMounted"
In U-Boot change boot_args to "root=/dev/mmcblk0p1".
You do not use an SDHC-card, do you? I have been messing around with this now several times and as of my latest efforts I am stuck with this not-so-nice-line on my 8GB-card (2GB works fine):
Code:
mmc0: error -110 whilst initialising SD card
There is a solution for something similar by passing sdhci debug_quirks=1 to the module - but how do you do that when you have the support compiled into kernel?
18  Hardware and U-Boot firmware / U-Boot stuff / Re: Need original bootcmd on: April 21, 2009, 04:18:51 PM
This should be the original one:
Code:
bootcmd=nand read.e 0x800000 0x100000 0x400000; bootm 0x800000
19  General Category / General Discussion / Re: Plug Pictures on: April 21, 2009, 04:37:08 AM
This is where my resides for the moment (can you find it?):
20  Linux Stuff / Linux distributions / Re: Ubuntu: apt-get upgrade makes logins fail! on: April 18, 2009, 05:36:00 PM
I experienced that problem a week ago too. After assuming the worst (I had an SSH-Port forwarded over night) I noticed as well that it seems to have something to do with an upgrade. However, after several installing-testing-cycles it miraculously *1 worked and kept working ever since. I have not been able to find out what exactly caused that behavior but my last assumption was renaming the system. Can you confirm that?


*1How is that spelled?
21  Linux Stuff / Linux distributions / Re: Debian running on the plug on: April 16, 2009, 02:44:51 PM
Just to add a little something. I had to create /dev/ttyS0 as well because of some annoying error-messages:
Code:
INIT: Id "T0" respawning too fast: disabled for 5 minutes
INIT: no more processes left in this runlevel
INIT: Id "T0" respawning too fast: disabled for 5 minutes

That seemed to do the trick. So, maybe you want to add "mknod -m 666 /dev/ttyS0 c 4 64" to your list (dunno if changing the console-parameter in u-boot might do the same).
22  Linux Stuff / Kernel / Re: Updating Marvell uImage on: April 16, 2009, 12:55:43 PM
First thing is to get the JFFS2-Image to a (partitioned and formated) stick. This can easily be done by using "cp -Rp" once you have mounted the Image (see HOWTO mount JFFS2 image on Linux host without NAND flash for details on that). Afterwards you can just follow instructions from Booting from USB drive - you do not have to write an uImage to the stick as you can use the one from your NAND. Hence you will only have to change the rootpath-part of your bootargs in u-boot.
23  Linux Stuff / Kernel / Re: Updating Marvell uImage on: April 16, 2009, 12:06:46 PM
On second thought... Yeah, that might happen. Sorry, I did not think of that earlier (I myself keep my OS on an USB-Stick for now).

Anyways, find nandwrite here (Forum won't let me upload stuff: Cannot access attachments upload path!). I hope that it works like that. If not you might have to write one of Marvells rootfs-Images to a USB-Stick and boot from it.

Once again, sorry for not thinking that far.  Embarrassed
24  Linux Stuff / Linux distributions / Re: Debian running on the plug on: April 16, 2009, 11:10:14 AM
Yupp, managed to put Lenny on my Plug using your instructions too. There were some little adaptations though (editing configuration-files using etc/... instead of /etc/... or mounting root as /dev/sda3 ext2 instead of /dev/sda1 ext3).

Thanks a lot!   Kiss
25  Linux Stuff / Kernel / Re: Updating Marvell uImage on: April 16, 2009, 09:57:34 AM
Sure. Just use the jffs2-image you want to flash it into the rootfs-device (afer you erased the old contents).

As mentioned before, you want to have another way to boot your plug just in case something happened during this process.
26  Linux Stuff / Kernel / Re: Updating Marvell uImage on: April 16, 2009, 09:07:10 AM
Assuming you already have a running Linux on your Plug you can skip all that NFS/TFTP stuff. The only things you will have to do are described in Steps 2.3 & 2.4. Here is what I'd do:

  • Find your uImage-Partition:
Code:
root@debian:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00400000 00020000 "uImage"
mtd1: 1fb00000 00020000 "rootfs"
    In my case that would be /dev/mtd0. Double-check this as you do not want to erase your U-Boot or rootfs-Partition![/li]
  • Erase current Image: nand_eraseall -j /dev/mtd0
  • Flash new Image: nandwrite -p /dev/mtd0 uImage.sheeva.040309

This worked for me several times. However, if you run into any problems you will have to either boot from NFS/TFTP or a USB-Stick to fix this.
27  Linux Stuff / Kernel / Re: anyone compile a custom kernel yet? on: April 16, 2009, 08:46:32 AM
So while booting the kernel and having it mount an ext2-root from my usb-stick works as it should, I cannot mount a rootfs from nand as the kernel says its lacking jffs2-support. However, jffs2 IS compiled into the kernel and listed under /proc/filesystems as supported. I can even mount my nand-root when booting completely from usb...

Any clue?


[edit]
Just noticed that on my Kernel jffs2 is not listed as a block device (nodev). Question is what to do to make it one... Never had to do so.
28  Linux Stuff / General Linux questions / Re: SD Card not showing up on: April 16, 2009, 08:36:01 AM
Unplug the card, than plug it back in and do "dmesg | tail". It should read something like this:
Code:
root@debian:~# dmesg | tail -n 5
mmc0: card bb41 removed
mmc0: host does not support reading read-only switch. assuming write-enable.
mmc0: new SD card at address bb41
mmcblk0: mmc0:bb41 SU02G 1.89 GiB
 mmcblk0: p1

If it does, the card is being recognized by your kernel. You should now have a device called /dev/mmcblk0. If you don't, you should check either your card, your kernel or your modules.
29  Linux Stuff / Kernel / Re: SD card support on: April 16, 2009, 08:21:06 AM
As 4GB-Cards seem to work fine, 16GB should as well. But before I go to get one: Anybody tried that yet?  Roll Eyes
30  Linux Stuff / Kernel / Re: Updating Marvell uImage on: April 16, 2009, 07:55:37 AM
Take a look at the Documentation-Package on their Page. It contains instructions on how to write an uImage to the Plug within "Wrinting Jaunty Filesystem on the NAND flash".
Pages: 1 [2] 3