[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] new member
On Fri, Nov 26, 2004 at 08:06:29AM +1000, John Williams wrote:
> >Memory: 280KB available (442K code, 279K data, 32K init)
>
> It's going to be tight in there! You might want to consider enabling
> the non power-of-two allocator in the kernel config - it will make more
> efficient use of the limited memory resources.
I've done it already.
> >I went for serial S-record upload and I'm sure that checksums are correct.
> >How to mount that bloody rootfs??
> >Do I need MTD support?
>
> Yes - you should basic MTD support, only do support for RAM devices
> (don't bnother about intel or AMD flash support yet), and in the
> mappings section, choose the uclinux mapping. That should be enough to
> get it going.
OK, here goes relevant information from configs...
CONFIG_BINFMT_FLAT=y
CONFIG_BINFMT_ZFLAT=y
CONFIG_CONTIGUOUS_PAGE_ALLOC=y
CONFIG_MTD=y
CONFIG_MTD_PARTITIONS=y # without it I couldn't select MTD_UCLINUX
CONFIG_MTD_RAM=y
CONFIG_MTD_UCLINUX=y
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_SIZE=256
CONFIG_RAMFS=y
CONFIG_ROMFS_FS=y
CONFIG_EXT2_FS=y
And here is a piece of boot messages:
Starting kswapd
RAMDISK driver initialized: 16 RAM disks of 256K size 1024 blocksize
uclinux[mtd]: RAM probe address=0x800ab548 size=0x18000
uclinux[mtd]: root filesystem index=0
VFS: Cannot open root device "" or 1f:00
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 1f:00
I've tried root=/dev/{ram0,ram1,mtdblock0,mtdblock1} with or without
rootfstype= and I can't get it mounted. The ``RAM probe address'' given
above seems to be outside an image, because my image.bin has got only
673792 (0x000a4800) bytes!!
Thanks (again!) for any suggestions :)
Regards,
--
Krzysztof Kościuszkiewicz, GG#111851
kokr@kn.ict.[na polibudzie].wroc.pl
"Simplicity is the ultimate sophistication"
-- Leonardo da Vinci
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/