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

Re: [microblaze-uclinux] Booting uClinux



Yes, I have enabled Generic uClinux RAM/ROM filesystem support within the kernel.  Its a shame it couldn't be that easy.

Thanks,

       Ryan Ahern



Tyrone Kwok wrote:
Hi,

I am also using the NuHorizons S400 board and using EDK6.2. I would
like to ask if
you have enabled the RAM filesystem support in:

Memory Technology Devices (MTD) | Mapping drivers for chip access |
Generic uClinux RAM/ROM filesystem support

BTW, with reference to David's S1500 design files, I am able to use
the flash on that board to download the kernel image. (Thanks David
;-)

Cheers,
Tyrone


On 4/18/05, supernaut <supernaut@escaperisk.com> wrote:
  
Sadly, I am experiencing nearly identical difficulties with my Nu-Horizons
S400 Dev Board.  I am downloading image.bin to the 8MB SDRAM via XMD's dow
command.  Running 'con 0x80000000' does indeed boot the kernel until either
"Kernel Panic: No init found." or a hang after "Freeing init memory: 32K." 
I am not using the flash provided by this board due to the fact that my
first priority is to get linux running, then concentrate on booting from the
flash.

This appears to definitely be due to the init process not being able to find
a proper filesystem.  I have also found that the memory region at 0x800c3908
is overwritten [possibly] by the "RAM Probe."  I'm not entirely sure if this
is typical behavior or not.  The following is a before & after of that
particular memory space:

BEFORE kernel boot:
XMD% mrd 0x800c3908 16
    
800C3908: B6A8E3D1
800C390C: ADE4858C
800C3910:
  
A26119AF
    
800C3914: 88EC640A
800C3918: 3F5D9C86
800C391C: 196EB670
800C3920:
  
390E53C4
    
800C3924: 6FADF035
800C3928: 932E3A28
800C392C: 40E96469
800C3930:
  
7E0C8868
    
800C3934: 2DCD70AA
800C3938: B4B07570
800C393C: 58A17416
800C3940:
  
84EBE74C
    
800C3944: CD94CFA8

AFTER booting/hanging:
  
XMD% mrd 0x800c3908 16
    
800C3908: 2D726F6D
800C390C: 3166732D
800C3910:
  
00072610
    
800C3914: 81104A56
800C3918: 524F4D64
800C391C: 69736B00
800C3920:
  
00000000
    
800C3924: 00000000
800C3928: 00000049
800C392C: 00000020
800C3930:
  
00000000
    
800C3934: D1FFFF97
800C3938: 2E000000
800C393C: 00000000
800C3940:
  
00000000
    
800C3944: 00000000
  
I built the EDK profile my modifying mbvanilla_net since I do not currently
have a copy of EDK 6.3 -- I am using EDK 6.2.  The following is the output
to my console:

Linux version 2.4.29-uc0 (ryan@plutonium) (gcc version 2.95.3-4 Xilinx EDK
6.3 Build EDK_Gmm.12.2) #9 Mon Apr 18 00:54:35 EDT 2005
On node 0 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
CPU: MICROBLAZE
Console: xmbserial on UARTLite
Kernel command line: \0xb8
Calibrating delay loop... 2.47 BogoMIPS
Memory: 8MB = 8MB total
Memory: 6856KB available (585K code, 654K data, 32K init)
Dentry cache hash table entries: 1024 (order: 1, 8192 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: 2048 (order: 1, 8192 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
uclinux[mtd]: RAM probe address=0x800c3908 size=0x73000
uclinux[mtd]: root filesystem index=0
VFS: Mounted root (romfs filesystem) readonly.
Freeing init memory: 32K

And she hangs here.  I also attached my MHS and .config files if anyone is
willing to be kind enough to help me out.  Thanks!

-- Ryan Ahern

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



  

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