[fedora-arm] Flashing Fedora-12 onto a SheevaPlug?

omalleys at msu.edu omalleys at msu.edu
Fri Nov 19 15:18:56 UTC 2010


Honesty, I have no idea, but i hope this points you in the right direction.

It should be very similar to:
http://chiana.homelinux.org/~marc/eib_sheeva.html

I think the important part is under "Booting in the final system"

setenv mainlineLinux yes

(too many people bricked their plugs so they have have an extra step  
and the sheeva installer writes a new uboot along with the kernel and  
filesystem to help prevent this.) Im sure you found the instructions  
for using the open u-boot.

Do note in the instructions they are trying to use UbiFS instead of JFFS.
Im not sure I would overwrite the U-boot with what they suggest either.
but the procedure for overwriting the nand should be very similar.

I would try it with jffs first. You may have to compile kernel support  
to read the rootfs, but you should at least see your kernel boot. (and  
it will fail with something similar to "Kernel panic - not syncing:  
VFS: Unable to mount root fs".)

And as always if you actually figure it out. Update the wiki :)





Quoting Derek Atkins <warlord at MIT.EDU>:

> Hi,
>
> I just received my SheevaPlug shipment yesterday, and today I've been
> trying (and failing) to install Fedora 12 onto it.  I'm trying to set up
> the plug to boot off nand.  Unfortunately the instructions on the wiki
> are pretty sparse.  I'd consider myself a Fedora expert, but I'm
> definitely new to ARM and embedded systems (modulo some time I spent
> with a TuxScreen system about a decade ago).
>
> I've downloaded the f12 root filesystem and modified it as per the wiki.
> I also downloaded the 2.6.32.21 kernels from
> http://sheeva.with-linux.com/sheeva/2.6.32.21/ (as per the wiki), but I
> have no idea if these are the "right" packages to use.  I only chose
> this because it's the version of the kernel my F12 laptop is running).
>
> Then I downloaded the sheevaplug installer (again, as per the
> fedora arm wiki), but of course it didn't work on my fedora-12 64
> system; the problem was that runme.php needed "<?php" instead of just
> "<?" in order to get php to run...  and even when running in an su
> environment, it still thought I wasn't root.
>
> After trying to comprehend the sheevaplug-installer readme, googling to
> figure out where to find the uboot-custom.txt, and then finally getting
> the installer running, then I get the dreaded "No valid NAND flash
> driver found":
>
>  ****	Burning uboot and environment variables ... This will take few  
> minutes ...
> Open On-Chip Debugger 0.4.0 (2010-02-22-22:59)
> Licensed under GNU GPL v2
> For bug reports, read
> 	http://openocd.berlios.de/doc/doxygen/bugs.html
> 2000 kHz
> trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain
> jtag_nsrst_delay: 200
> jtag_ntrst_delay: 200
> dcc downloads are enabled
> Error: No valid NAND flash driver found (0)
> Available NAND flash controller drivers:
>   nonce
>   davinci
>   lpc3180
>   orion
>   s3c2410
>   s3c2412
>   s3c2440
>   s3c2443
>   s3c6400
>   imx31
>   at91sam9
>  ****	openocd FAILED
>  ****	Is the mini USB cable connected?
>
>
> Luckily my sheeva is still running its original config.  uboot is
> working (albeit with the default version):
>
>  ** MARVELL BOARD: SHEEVA PLUG LE
>
> U-Boot 1.1.4 (Jul 14 2009 - 06:46:57) Marvell version: 3.4.16
>
> So...  can someone help me wipe out the debian installation and install
> fedora-12?  I think there are enough hits on the web to reflash my
> uImage, but I can't for the life of me figure out how to flash the
> rootfs.tar.gz into mtd2.
>
> Any help would be greatly appreciated!
>
> Thanks,
>
> -derek
>
> --
>        Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
>        Member, MIT Student Information Processing Board  (SIPB)
>        URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
>        warlord at MIT.EDU                        PGP key available
> _______________________________________________
> arm mailing list
> arm at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/arm
>



-- 
"The information in this email, and attachment(s) thereto, is strictly  
confidential and may be legally privileged. It is intended solely for  
the named recipient(s), and access to this e-mail, or any  
attachment(s) thereto, by anyone else is unauthorized. Violations  
hereof may result in legal actions. Any attachment(s) to this e-mail  
have been checked for viruses, but please rely on your own  
virus-checker and procedures. If you contact us by e-mail, we will  
store your name and address to facilitate communications in the matter  
concerned. If you do not consent to us storing your name and address  
for above stated purpose, please notify the sender promptly. Also, if  
you are not the intended recipient please inform the sender by  
replying to this transmission, and delete the e-mail, its  
attachment(s), and any copies of it without, disclosing it."




More information about the arm mailing list