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

[microblaze-uclinux] Error Booting the kernel



hi all,
I built the kernel in linux. 
now when I try to download it to the microblaze.. 
it gives me an error.. 

init: bin/getty error  ( in the xmd window)

I searched in the Makefile, uClinux-dist/user dir, and
in the uClinux-dist/config/config.in

in the config.in I found this.. 

bool 'getty' CONFIG_USER_TINYLOGIN_GETTY


more over when I the hyperterminal listens at a
different baud rate(56000..i guess) i get the
following.. 

I guess something is reading from the image.bin but
the shell is not loading.. 

Linux version 2.4.22-uc0 (gradteam2a@co-design) (gcc
version 2.95.3-4 Xilinx EDK
 6.1 Build EDK_G.11) #26 Sun Nov 30 21:44:22 CST 2003
On node 0 totalpages: 4096
zone(0): 4096 pages.
zone(1): 0 pages.
zone(2): 0 pages.
CPU: MICROBLAZE
Console: xmbserial on UARTLite
Kernel command line:
Calibrating delay loop... 3.16 BogoMIPS
Memory: 15068K/16384K available (592K kernel code,
197K data)
Dentry cache hash table entries: 2048 (order: 2, 16384
bytes)
Inode cache hash table entries: 1024 (order: 1, 8192
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: 4096 (order: 2, 16384
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
 Amd/Fujitsu Extended Query Table v1.1 at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling fast programming due to
code brokenness.
Creating 8 MTD partitions on "Flash":
0x00000000-0x00020000 : "Bootloader"
0x00020000-0x00040000 : "Bootargs"
0x00040000-0x00060000 : "MAC"
0x00080000-0x00100000 : "Config"
0x00060000-0x00080000 : "Spare"
0x00100000-0x00300000 : "Image"
0x00300000-0x00800000 : "JFFS2"
0x00000000-0x00800000 : "Flash"
MBVanilla ram probe(0x800c6988,352256,4): 56000 at
800c6988
Creating 1 MTD partitions on "RAM":
0x00000000-0x00056000 : "Romfs"
VFS: Mounted root (romfs filesystem) readonly.
Freeing unused kernel memory: 32K freed
Warning: unable to open an initial console.




I did exactly as given in the website to build the
kernel. 

what went wrong?

Regards
Badri





--- badri v <badmanind@yahoo.com> wrote:
> o well It asks me for the to include the shared
> memeory ... 
> 
> n it defaulty taking Y when I press enter 
> 
> 
> am sorry for that 
> 
> 
> when I started rebuilding uclinux by giving N.. it
> went well
> 
> I have a problem with the mbconnect.. i will look on
> to it tonite .. I think it should run by tomm.. 
> 
> Cheers,
> Badri 
> 
> 
> 
> --- badri v <badmanind@yahoo.com> wrote:
> > no I have just changed wat I mentioned
> > 
> > and with the customize vendor/..( to select the
> > threaddemos)
> > 
> > I get an error like this 
> > 
> > make ARCH=microblaze CROSS_COMPILE=mb- -C config
> > menuconfig
> > make[2]: Entering directory
> > `/home/gradteam2a/uClinux-dist/config'
> > config.in: line 1096: syntax error: unexpected end
> > of
> > file
> > 
> > It is the last line of the file ..config.in
> > 
> > 
> > 
> > 
> > --- John Williams <jwilliams@itee.uq.edu.au>
> wrote:
> > > badri v wrote:
> > > > actuyally I forgot to include the
> > > CONFIG_....SUMTHREAD
> > > > in the uClinux/Makefile 
> > > > 
> > > > I include and deleted dir_y+=sumthread
> > > > 
> > > > now when I compiled I get this error
> > > > 
> > > > ls: microblaze/*.S: No such file or directory
> > > > ls: microblaze/*.S: No such file or directory
> > > > make[4]: Entering directory
> > > >
> `/home/gradteam2a/uClinux-dist/uClibc/ldso/ldso'
> > > > echo "const char
> > > *_dl_progname=\""ld-uClibc.so.0"\";"
> > > 
> > > It looks like it's trying to build shared
> > libraries,
> > > which is not 
> > > supported yet in microblaze uClinux.  Have you
> > > changed some config 
> > > setting relating to shared libraries?
> > > 
> > > 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/
> > > 
> > 
> > 
> > __________________________________
> > Do you Yahoo!?
> > Free Pop-Up Blocker - Get it now
> > http://companion.yahoo.com/
> > ___________________________
> > 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/
> > 
> 
> 
> __________________________________
> Do you Yahoo!?
> Free Pop-Up Blocker - Get it now
> http://companion.yahoo.com/
> ___________________________
> 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/
> 


__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
___________________________
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/