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

[microblaze-uclinux] Make error with latest download - A few more things...



John,
 
OK sorry for these dumb questions... Is it just me or is this whole thing confusing. I downloaded the CVS kernel again...
 
-What I am after is the proper way to build the kernel from scratch:
 
1). download both uClinux-dist and source 2.4.x (as on your website)
2). Build kernel with only change (100Mhz). Get -lib error
3). Apply patch from your site - get 'Malformed patch at line 95'
4). Do I apply the 'network patch' that is on your site as well? (that give a bunch of already patched and also seems to patch stuff).
5). What is the best way to know that everything is working?
6). I cannot use the autoconfig because I am using the newest DDR. I tried your fix in one of the e-mails and it still does not work. If I go back to an older DDR, it really messes up the clock hookup. Is there any way to get it to work with the latest version?
 
Thanks,
Apco25


Greg Miller <apco25@yahoo.com> wrote:
John,

I am getting the following errors when doing a make
(latested cvs download)
mtdcnxt.c:57: asm/arch/bsptypes.h: No such file or
directory
mtdcnxt.c:58: asm/arch/cnxtflash.h: No such file or
directory
mtdcnxt.c:59: asm/arch/gpio.h: No such file or
directory
make[5]: *** [mtdcnxt.o] Error 1
make[5]: Leaving directory
`/mnt/sdb1/opt/uClinux-2.4.x/drivers/mtd/devices'
make[4]: *** [first_rule] Error 2
make[4]: Leaving directory
`/mnt/sdb1/opt/uClinux-2.4.x/drivers/mtd/devices'
make[3]: *** [_subdir_devices] Error 2
make[3]: Leaving directory
`/mnt/sdb1/opt/uClinux-2.4.x/drivers/mtd'
make[2]: *** [_subdir_mtd] Error 2
make[2]: Leaving directory
`/mnt/sdb1/opt/uClinux-2.4.x/drivers'
make[1]: *** [_dir_drivers] Error 2
make[1]: Leaving directory
`/mnt/sdb1/opt/uClinux-2.4.x'
make: *** [linux] Error 1


Also, it looks like (see below) that Suh is getting
the same Flash error as me. It cannot regognize the
flash properly... Not sure what to do. I checked as
you said and my flash is at the correct address.

I think it's becuase it's a 16-bit flash and the way I
have it set up for 32-bit accesses. It may only do 1/2
word writes but can do a full 32-bit read.

Is there a way around this? I saw that there is some
code (NEW) to accomidate for this, but I cannot get it
to compile (see above). In fact the avobe is just the
plain Vanilla with only the processor speed changed.

Thanks,
Apco25




--- Taeweon Suh wrote:

> Hi John,
>
> Yes, I can write in /tmp directory, and after
> selecting the workaround
> option, I am also able to telnet the Avnet board
> from PC. Thanks a lot.
>
> BTW, one more trivial question. Why does my
> f! ollowing booting message do
> not show that pretty uClinux logo (I checked out the
> latest (Feb.23)
> uClinux version from CVS)? Is it because something
> is missing in compiled
> image file?
>
> Thanks again,
>
> Taeweon
>
>
>
-------------------------------------------------------------------------
> Linux version 2.4.29-uc0
> (suhtw@frenchbulldog.ece.gatech.edu) (gcc version
> 2.95. pwd thttpd 41572 Jan 1 00:00
> 3-4 Xilinx EDK 6.2.1 Build EDK_Gm.12.3) #13 Tue Mar
> 1 11:59:46 EST 2005
> drw-r--r-- 1 root 0 0 Jan 1
> 00:01 suhtw
> On node 0 totalpages: 8192
> zone(0): 8192 pages.01:32 dhcpcd[33]: ti
> zone(1): 0 pages.r a valid DHCP se
> zone(2): 0 pages.
> CPU: MICROBLAZE
> Console: xmbserial on UARTLite free kill
> mou
> Kernel command line: ?
>
>
>
> #m
> #
> Calibrating! delay loop...
> 3.91
> BogoMIPSece.gatech.edu) (gcc version 2.9
> Memory: 32MB = 32MB total
>
> Kernel c
> Buffer cache hash table entries: 1024 (order: 0,
> 4096 bytes) Calibrating
> delay loop... 3.91 BogoMIPS
> Page-cache hash table entries: 8192 (order: 3, 32768
> bytes)t 0
> 11266
> POSIX conformance testing by UNIFIXx EDK 6.2.1 Build
> Linux NET4.0 for Linux 2.4
> Memory: 30264KB avai
> Based upon Swansea University Computer Society
> NET3.039
> dr
> Dentry
> Initializing RT netlink socket
> Page-
> RAMDISK driver initialized: 16 RAM disks of 4096K
> size 1024 blocksize
> ttyS1 at 0x85000000 (irq = 2) is a Microblaze
> UARTlite
> eth0: using fifo mode.
> Moun
> eth0: Xilinx EMAC #0 at 0x84040000 mapped to
> 0x84040000, irq=3
> xgpio #0 at 0x840E0000 mapped to 0x840E00000
> 11266
> eth0: i! d 2.0h; block id 7, type 1
> uclinux[mtd]: RAM probe address=0x8615f4b0
> size=0xdf000
>
> uclinux[mtd]: root filesystem in
> Search for id:(00 00) interleave(2) type(2)e
> UARTlite0:00 in
> Search for id:(00 00) interleave(2) type(1)
> Search for id:(00 00) inte
> Search for id:(00 00) interleave(2) type(1)
> Starting kswapd
> Search for id:(00 00) interleave(2) type(1)e(2)d to
> 0x840E0000
> Search for id:(00 00) interleave(4) type(2)r id:(00
> 00) interleave(2)
> type(1)line 1
> Search for id:(00 00) interleave(4) type(2)
> Xilinx GPIO register
> Search for id:(00 00) interleave(4) type(2)
> JEDEC: Found no Flash device at location zeroor
> id:(00 00) interleave(4)
> type(1)
> MBVanilla ram probe(0x8615f4b0,913408,4): df000 at
> 8615f4b0rleave(4)
> type(1)024
> Creating 1 MTD partitions on "RAM":eave(4) type(1)
> 0x00000000-0x000df000 : "Romfs" Nonexistent or bad
> flatfs (-43
> NET4: Linux TCP/IP 1.0 for NET4.0
> JEDEC: Found no Flash devic
> IP Protocols: ICMP, UDP, TCP
> IP: routing cache hash table of 512 buckets,
> 4Kbytes757760,4): b9000 at
> 8615f4b0
> Mounting proc:
> Mounting var:
> Populating /var:
> Running local start scripts.
> Mounting /etc/config:
> Populating /etc/config:
> flatfsd: Nonexistent or bad flatfs (-43), creating
> new one...
> flatfsd: Failed to write flatfs (-43): No such
> device
> flatfsd: Created 3 configuration files (142 bytes)
> Setting hostname:
> Setting up interface lo:
> Starting DHCP client:
> Starting inetd:
> Starting thttpd:
>
> uclinux-auto login: Jan 1 00:01:32 dhcpcd[33]:
> timed out waiting for a
> valid DH
> CP server response
>
>
> uclinux-auto logi! n: root
> Password:
> #
> #
> #
>
>
-----------------------------------------------------------------------
>
>
> > Hi Taewon,
> >
> > Taeweon Suh wrote:
> >
> >> I think I succefully booted uClinux on Avnet
> Virtex-II Pro development
> >> board. My peripherals are only timer, uart, dummy
> uart, and ethernet,
> >> which I think is the minumum configuration to run
> uClinux.
> >
> > Great news - it's very satisfying isn't it? :)
> >
> >> I can do "ls, cd like commands" on hyperterminal
> console. But I got 2
> >> problems. First one is I can not write in uClinux
> file system.
> >> For example, "mkdir suhtw" then it returns
> "mkdir: cannot create
> >> directory
> >> suhtw". Is it because the file system is romfs
> (read-only! memory file
> >> system)? Do I have to set something in
> menuconfig?
> >
> > Yes, you are using the ROMFS type which is read
> only, even if it's
> > living in RAM. The typical vendors configuration
> that we use with
> > microblaze targets mount a ram file system
> (RAMDISK) on /tmp - you
> > should check if you can write in there.
> >
> > If you want persistent stroage you can either use
> flatfsd (search the
> > ucdot.org site for details, or check out the
> vendors/Xilinx/uclinux-auto
> > makefile), or something like JFFS2 for a flash
> based filesystem.
> >
> >> Another question is telnet. I am trying to telnet
> Avnet board from my
> >> PC.
> >> But, in telnet, it says all ports are busy. So,
> on Avnet hypertermial, I
> >> typed "telnetd" then it shows also " All network> ports in use" like
> >> below.
> >> I can ping to PC though and also the other way
> (ping from PC to board).
> >
> > When you select telnetd in the menuconfiguration,
> you must also select
> > the option immediately below it, something like
> "telnetd does not use
> > openpty()" or similar. This is a workaround to a
> wrinkle that is,
> > coincidentally, actually related to romfs.
> >
> > Regards,
> >
> > 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/
> >
> >
>
>
> ----------------------------------------------> Taeweon Suh
>
> Ph.D. Candidate
> School of Electrical and Computer Engineering
> Georgia Institute of Technology
> Atlanta, Georgia USA
>
> Lab: CoC345
> Tel: +1-404-385-6273
> E-mail: suhtw@ece.gatech.edu
> ----------------------------------------------
>
> ___________________________
> 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/