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

Re: [microblaze-uclinux] No ROM/FLASH Board



Hello All,

I tried to remove MTD as suggested but I got this compilation error :

make ARCH=microblaze CROSS_COMPILE=mb- -C vendors image
make[1]: Entering directory `/home/bherrera/uClinux-cvs/uClinux-dist/vendors'
make -C /home/bherrera/uClinux-cvs/uClinux-dist/vendors/Xilinx/uclinux-auto/.
dir_v=/home/bherrera/uClinux-cvs/uClinux-dist/vendors/Xilinx/uclinux-auto/.
-f /home/bherrera/uClinux-cvs/uClinux-dist/vendors/vendors-common.mak
image
make[2]: Entering directory
`/home/bherrera/uClinux-cvs/uClinux-dist/vendors/Xilinx/uclinux-auto'
[ -d /home/bherrera/uClinux-cvs/uClinux-dist/images ] || mkdir -p
/home/bherrera/uClinux-cvs/uClinux-dist/images
mb-objcopy -O binary
/home/bherrera/uClinux-cvs/uClinux-dist/linux-2.4.x/linux
/home/bherrera/uClinux-cvs/uClinux-dist/images/linux.bin
mkfs.jffs2 --big-endian --pad=1966080 --squash --eraseblock=65536 \
                  --devtable jffs2_devtable.txt
--root=/home/bherrera/uClinux-cvs/uClinux-dist/romfs
--output=/home/bherrera/uClinux-cvs/uClinux-dist/images/jffs2.img
make[2]: mkfs.jffs2: Command not found
make[2]: *** [/home/bherrera/uClinux-cvs/uClinux-dist/images/jffs2.img]
Error 127
make[2]: Leaving directory
`/home/bherrera/uClinux-cvs/uClinux-dist/vendors/Xilinx/uclinux-auto'
make[1]: *** [image] Error 2
make[1]: Leaving directory `/home/bherrera/uClinux-cvs/uClinux-dist/vendors'
make: *** [image] Error 2


Does anybody has a suggestion?

Best Regards

Bruno Herrera

On 11/14/06, Bruno Herrera <bruherrera@xxxxxxxxx> wrote:
Hello Alejandro,

You got the point! I can not used that because there is a CPLD between
my FPGA and Flash memory. In the future i probably will writhe some
OPB for that.
May romfs is already build and linked withe the kernel image, but I
will disable the MTD and see what I got.

As soon i got the result I`ll post here!

Tanks

On 11/13/06, Alejandro Lucero <alucero@xxxxxxxxx> wrote:
> Hi Bruno,
>
> I don't know if I have got the point you comment about the memory flash, but
> what I understand is you CAN NOT use it. However, you have mtd actived on
> uCLinux kernel and the boot log shows something is detected and it tries to
> get the root file system from there.
>
> If that explanation is true, you should remove the mtd from the kernel and it
> should mount the romfs built and "linked" with the uClinux kernel image.
>
> On Friday 10 November 2006 02:12, Bruno Herrera wrote:
> > Hello All,
> >
> > I'm finishing a port of uCLinux to a Celoxica board that I do not have
> > direct acess to a Rom/Flash memory. In fact I only have access to it
> > thru on CPLD, so I discarded it from may BSP.
> >
> > Now I'm trying to boot the board but I got this(see below). I have
> > googled a lot but could not find any conclusive solution. Do you have
> > any sugestions??
> >
> >
> >
> >
> > Make your choice>Linux version 2.4.32-uc0 (bherrera@linux) (gcc version
> > 3.4.1 ( Xilinx EDK 8.1 Build EDK_I.15 290805 )) #25 Thu Nov 9 22:34:34 AMT
> > 2006 On node 0 totalpages: 1024
> > zone(0): 1024 pages.
> > zone(1): 0 pages.
> > zone(2): 0 pages.
> > CPU: MICROBLAZE
> > Kernel command line:
> > Console: xmbserial on UARTLite
> > Calibrating delay loop... 24.83 BogoMIPS
> > Memory: 4MB = 4MB total
> > Memory: 2828KB available (567K code, 646K data, 40K init)
> > Dentry cache hash table entries: 512 (order: 0, 4096 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: 1024 (order: 0, 4096 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
> > devfs: v1.12c (20020818) Richard Gooch (rgooch@xxxxxxxxxxxxx)
> > devfs: devfs_debug: 0x0
> > devfs: boot_options: 0x1
> > RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
> > uclinux[mtd]: RAM probe address=0xff0be8d0 size=0x71000
> > mtd: Giving out device 0 to RAM
> > uclinux[mtd]: root filesystem index=0
> > *******
> > VFS: test name = </dev/root>
> > VFS: fs_name = <ext2>
> > VFS: fs_name = <romfs>
> > VFS: root name <1f:00>
> > *******
> > VFS: tried fs_name = <ext2> err= -2
> > VFS: Cannot open root device "" or 1f:00
> > Please append a correct "root=" boot option
> > Kernel panic: VFS: Unable to mount root fs on 1f:00
> >
> >
> > -----------------------
>
> --
> Alejandro Lucero
> Director Técnico
> +34 665 68 71 68
> Valencia (SPAIN)
> www.os3sl.com
>
> ___________________________
> microblaze-uclinux mailing list
> microblaze-uclinux@xxxxxxxxxxxxxx
> Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
> Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
>
>


--
Bruno Meirelles Herrera
Eng. de Computação / Computer Eng.

SCJP -Sun Certified Programmer for Java 2 Platform 1.4
SCJA -  Sun Certified Associate for Java Platform



--
Bruno Meirelles Herrera
Eng. de Computação / Computer Eng.

SCJP -Sun Certified Programmer for Java 2 Platform 1.4
SCJA -  Sun Certified Associate for Java Platform

___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/