[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] new member



Hi Krzysztof,

Krzysztof Kosciuszkiewicz wrote:
>>OK so that sounds like a challenge! ;-)
>>
> 
> Ok, here are the results ;)

Nothing like a challenge to get results! :)

see comments below

> 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.

> Dentry cache hash table entries: 512 (order: 0, 4096 bytes)
> Inode cache hash table entries: 512 (order: 0, 4096 bytes)
> Mount cache hash table entries: 512 (order: 0, 4096 bytes)
> Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
> Page-cache hash table entries: 1024 (order: 0, 4096 bytes)
> POSIX conformance testing by UNIFIX
> Linux NET4.0 for Linux 2.4
> Based upon Swansea University Computer Society NET3.039
> Microblaze UARTlite serial driver version 1.00
> ttyS0 at 0xffff2000 (irq = 1) is a Microblaze UARTlite
> ttyS1 at 0xffff4000 (irq = 2) is a Microblaze UARTlite
> Starting kswapd
> RAMDISK driver initialized: 16 RAM disks of 256K size 1024 blocksize
> Kernel panic: VFS: Unable to mount root fs on 01:00

> 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.  You will also want to enable ZFLAT binary support in the 
kernel config, and make sure in the vendors Makefile 
(vendors/XXX/YYY/Makefile) that you are running "mb-flthdr -z" over all 
applications, to shrink them down as much as possible.

Keep up the good work! :)

John
___________________________
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/