[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] test uclinux-auto on spartan3
Hi jpyao,
Ò¦½¨Æ½ wrote:
> hi, microblaze-uclinux
>
> below is the board detail:
> x3s400-4pq208c
> 4M X 32bits =16MB sdram
> 48M clock
> 2 serial ports
> several leds and buttons
> no sram and flash
Sounds like a nice little board, do you a link or picture?
> today I tried on uClinux with the uClinux-auto
See comments below:
> Linux version 2.4.27-uc1 (root@localhost) (gcc version 2.95.3-4 Xilinx EDK 6.2.1
> Build EDK_Gm.12.3) #23 Tue Jan 11 06:38:29 CST 2005
> On node 0 totalpages: 8192
> zone(0): 8192 pages.
> zone(1): 0 pages.
> zone(2): 0 pages.
> CPU: MICROBLAZE
> Console: xmbserial on UARTLite
> Kernel command line:
> Calibrating delay loop... 2.30 BogoMIPS
> Memory: 32MB = 32MB total
> Memory: 31364KB available (397K code, 645K data, 28K init)
> Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
> Inode cache hash table entries: 2048 (order: 2, 16384 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: 8192 (order: 3, 32768 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
> Starting kswapd
> Kernel panic: VFS: Unable to mount root fs on 00:00
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> stopped here !!
> what should do next?
You need to enable the MTD drivers to manage the memory where the romfs
is stored. You should be able to use the "Generic uClinux" mapping.
In menuconfig -> kernel configuration => MTD => Mapping Drivers choose
"Generic uClinux RAM/ROM filesystem support"
Make the new kernel, and things should look a lot better!
Cheers,
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/