Hi Mike,
Mike Thompson wrote:
1. I'm assuming I can partition my 128MB CF card into two partitions.
First a 16MB FAT16 partition to contain the FPGA/System Ace config
files and the uClinux kernel. Second, a 112MB Ext3 partition that can
contain my root file system. Is there a better way of going about
this? Should I use another type of file system?
SystemAce has strict rules about the format of the card, in terms of the
first partition being FAT12 and so on. There's not really any other way
to do what you propose - two partitions are required.
There's a fair bit of discussion out there regarding the selection of
filesystems to put on compact flash. The main concern seems to be
sector wear. Some higher-end CF cards do automatic wear levelling and
transparent mapping of logical -> physical sectors.
If this is a critical application, you'll want to do some more detailed
research and testing. In general, ext2 or ext3 should be fine.
2. I created my own simple boot loader than runs in the FPGA BRAM to
copy the uClinux image.bin file from the CF card in to DDR memory to
run. How would I go about passing in the kernel command line when I
first jump to the kernel from my bootloader to specify an alternate
root filesystem and device?
This one's easy - just point r5 at a null terminated string and jump to
the kernel, it will do the rest. As far as your bootloader is
concerned, the jump to the kernel looks like a function call with a
single char* argument - the command line.
Regards,
John
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive :
http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/