Hello , I am trying to run the uClinux microblaze kernel on a NuHorizons Spartan 3 board. So far I can boot the kernel from sdram but I encounter problems probably due to improper configuration on my part. The most obvious is that the kernel thinks it has 32 MB of memory to use when in fact there is only 8 MB sdram. I attached the boot console output. Another problem is that I do not get a shell prompt after the boot process. I also attached my mhs file and .config file Here are details of the board: -Spartan 3 XC3S400 -8 MB 16 bit wide sdram -I am not using the flash ram yet (starting simple) -One serial port for the console -One jtag uart (can this be used for debug console? ) -The system currently operates with one clock set at 40 MHZ -I disabled microblaze caching to start simple The sdram works fine in memory tests I let run for 48 hours in a simple microblaze program. I am not sure where to tell the kernel about memory size. I only modified the mbvanilla.ld file so far. Thank You! Patrick Robin <h3><center><a href="http://themail.com/ref.htm?ref=917508"><font style='text-decoration:none'>Get paid for using free e-mail @ TheMail.com</a></font></center><h3> _________________________________________________________________ Free yourself from those irritating pop-up ads with MSn Premium. Get 2months FREE* http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines
Linux version 2.4.26-uc0 (probin@unix1) (gcc version 2.95.3-4 Xilinx EDK 6.1 Build EDK_G.11) #7 Wed May 12 23:00:06 EDT 2004 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... 1.94 BogoMIPS Memory: 31176K/32768K available (595K kernel code, 194K data) 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 ttyS1 at 0xffff4000 (irq = 2) is a Microblaze UARTlite Starting kswapd xgpio #0 at 0xFFFF5000 mapped to 0xFFFF5000 Xilinx GPIO registered RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize MBVanilla flash probe(0xff000000,8388608,4): 800000 at ff000000 CFI: Found no Flash device at location zero Search for id:(00 00) interleave(2) type(2) Search for id:(00 00) interleave(2) type(2) Search for id:(00 00) interleave(2) type(2) Search for id:(00 00) interleave(2) type(1) Search for id:(00 00) interleave(2) type(1) Search for id:(00 00) interleave(2) type(1) Search for id:(00 00) interleave(4) type(2) Search for id:(00 00) interleave(4) type(2) Search for id:(00 00) interleave(4) type(2) Search for id:(00 00) interleave(4) type(1) Search for id:(00 00) interleave(4) type(1) Search for id:(00 00) interleave(4) type(1) JEDEC: Found no Flash device at location zero MBVanilla ram probe(0x800c69dc,454656,4): 6f000 at 800c69dc Creating 1 MTD partitions on "RAM": 0x00000000-0x0006f000 : "Romfs" VFS: Mounted root (romfs filesystem) readonly. Freeing unused kernel memory: 32K
Attachment:
system.mhs
Description: Binary data
Attachment:
.config
Description: Binary data
Attachment:
mbvanilla.ld
Description: Binary data