FAQ:[#6795] Build jffs2 and pnormtd test case failed at mtd-utils/mkfs.jffs2 in trunk(2011)

Document created by Aaronwu Employee on Sep 12, 2013
Version 1Show Document
  • View in full screen mode

[#6795] Build jffs2 and pnormtd test case failed at mtd-utils/mkfs.jffs2 in trunk

Submitted By: Vivi Li

Open Date

2011-09-19 05:14:26     Close Date

2011-09-20 02:32:46

Priority:

Medium     Assignee:

Nobody

Status:

Closed     Fixed In Release:

N/A

Found In Release:

2011R1     Release:

Category:

N/A     Board:

N/A

Processor:

ALL     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

gcc4.3-2011R1-RC1

App binary format:

N/A     

Summary: Build jffs2 and pnormtd test case failed at mtd-utils/mkfs.jffs2 in trunk

Details:

 

Build jffs2 and pnormtd test case failed as can not find uclinux-dist/user/mtd-utils/mkfs.jffs2.

 

Last passed version:

--

kernel:    Linux release 3.0.0-ADI-2011R1-pre-svn10077, build #150 Wed Sep 14 18:40:28 CST 2011

toolchain: bfin-uclinux-gcc release gcc version 4.3.5 (ADI-2011R1-RC1)

user-dist: release svn-10385, build #2188 Wed Sep 14 18:39:31 CST 2011

--

 

First failed version:

--

kernel:    Linux release 3.0.0-ADI-2011R1-pre-svn10078, build #156 Fri Sep 16 04:58:59 CST 2011

toolchain: bfin-uclinux-gcc release gcc version 4.3.5 (ADI-2011R1-RC1)

user-dist: release svn-10397, build #2278 Fri Sep 16 04:57:57 CST 2011

--

 

Bellow is the error log of build jffs2:

--

make[1]: Entering directory `/home/test/work/cruise/checkouts/uclinux-dist/vendors'

make -C /home/test/work/cruise/checkouts/uclinux-dist/vendors/AnalogDevices/BF537-STAMP/. dir_v=/home/test/work/cruise/checkouts/uclinux-dist/vendors/AnalogDevices/BF537-STAMP/. -f /home/test/work/cruise/checkouts/uclinux-dist/vendors/vendors-common.mak image

make[2]: Entering directory `/home/test/work/cruise/checkouts/uclinux-dist/vendors/AnalogDevices/BF537-STAMP'

mkdir -p /home/test/work/cruise/checkouts/uclinux-dist/images

rm -rf /home/test/work/cruise/checkouts/uclinux-dist/images/*

make image.rootfs.all

make[3]: Entering directory `/home/test/work/cruise/checkouts/uclinux-dist/vendors/AnalogDevices/BF537-STAMP'

/home/test/work/cruise/checkouts/uclinux-dist/user/mtd-utils/mkfs.jffs2 -l -p -d /home/test/work/cruise/checkouts/uclinux-dist/romfs -D device_table-min.txt -o /home/test/work/cruise/checkouts/uclinux-dist/images/rootfs.jffs2

make[3]: /home/test/work/cruise/checkouts/uclinux-dist/user/mtd-utils/mkfs.jffs2: Command not found

make[3]: *** [image.rootfs.jffs2.force] Error 127

--

 

Bellow is the error log of build pnormtd:

--

make[3]: Entering directory `/home/test/work/cruise/checkouts/uclinux-dist/vendors/AnalogDevices/BF537-STAMP'

/bin/bash /home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/scripts/gen_initramfs_list.sh -u squash -g squash /home/test/work/cruise/checkouts/uclinux-dist/romfs > /home/test/work/cruise/checkouts/uclinux-dist/images/rootfs.initramfs.contents

awk -f /home/test/work/cruise/checkouts/uclinux-dist/tools/dev-table-to-cpio.awk device_table-min.txt >> /home/test/work/cruise/checkouts/uclinux-dist/images/rootfs.initramfs.contents

echo "slink /init /sbin/init 0755 0 0" >> /home/test/work/cruise/checkouts/uclinux-dist/images/rootfs.initramfs.contents

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/usr/gen_init_cpio /home/test/work/cruise/checkouts/uclinux-dist/images/rootfs.initramfs.contents > /home/test/work/cruise/checkouts/uclinux-dist/images/rootfs.initramfs

gzip -c -9 /home/test/work/cruise/checkouts/uclinux-dist/images/rootfs.initramfs > /home/test/work/cruise/checkouts/uclinux-dist/images/rootfs.initramfs.gz

/home/test/work/cruise/checkouts/uclinux-dist/user/mtd-utils/mkfs.jffs2 -l -p -d /home/test/work/cruise/checkouts/uclinux-dist/romfs -D device_table-min.txt -o /home/test/work/cruise/checkouts/uclinux-dist/images/rootfs.jffs2

make[3]: /home/test/work/cruise/checkouts/uclinux-dist/user/mtd-utils/mkfs.jffs2: Command not found

make[3]: *** [image.rootfs.jffs2.force] Error 127

--

 

Follow-ups

 

--- steven miao                                              2011-09-19 21:47:38

last mtd-utils update missing create symbol link for host tools

 

--- Vivi Li                                                  2011-09-20 02:32:45

It can build now.

Close it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

config.linux.jffs2    application/octet-stream    29737    Vivi Li

Attachments

Outcomes