LS1043 ARDB how do i add a pre-built binary into the rootfs ?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LS1043 ARDB how do i add a pre-built binary into the rootfs ?

2,146件の閲覧回数
byengsunyang
Contributor II

I am using a LS1043 ARDB target board. Host computer is Ubuntu 15

The following error message is displayed when you execute "Q: How do i add a pre-built binary into the rootfs?" In the FAQ section(page 75) of the SDK2.0 document.

There is no detail in the document, so there is no further attempt. Can someone tell me if there is another way or something to do? Have you tried it ?

-------------------

>bitbake fsl-image-kernelitb  (or >bitbake fsl-image-core)

:

:

:

ERROR: QA Issue: merge-files: Recipe inherits the allarch class, but has packaged architecture-specific binaries [arch]
WARNING: QA Issue: /home/root/bash_merge-files contained in package merge-files requires libc.so.6(GLIBC_2.17)(64bit), but no providers found in its RDEPENDS [file-rdeps]
ERROR: QA run found fatal errors. Please consider fixing them.
ERROR: Function failed: do_package_qa
ERROR: Logfile of failure stored in: /home/kevin/QorIQ-SDK-V2.0-20160527-yocto/build_ls1043ardb/tmp/work/all-fsl-linux/merge-files/1.0-r0/temp/log.do_package_qa.21543
ERROR: Task 1383 (/home/kevin/QorIQ-SDK-V2.0-20160527-yocto/sources/meta-freescale/recipes-extended/merge-files/merge-files_1.0.bb, do_package_qa) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3036 tasks of which 3019 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

-----------------------

ラベル(1)
タグ(1)
3 返答(返信)

1,577件の閲覧回数
csoapy
Contributor III

I'm facing the same issue, in official bsp imx-4.14.98-2.1.0
pastedImage_1.png

0 件の賞賛
返信

1,577件の閲覧回数
Pavel
NXP Employee
NXP Employee

This recommendation does not work under Ubuntu 15 or Ubuntu 16.

The following command sequence can be used for adding file to rootfs:

 

Add files to rootfs

 

Use the following command sequence for adding file to RAM disk image.

  1. rename your RAM disk image to rootfs.ext2.gz.uboot
  2. sudo apt-get install u-boot-tools

Following are the steps for adding files into rootfilesystem:

 

  1. dd if=rootfs.ext2.gz.uboot of=rootfs.ext2.gz bs=64 skip=1

 

  1. gunzip rootfs.ext2.gz

 

  1. mkdir /mnt/iso_1

 

  1. sudo mount -oloop rootfs.ext2 /mnt/iso_1

 

  1. Now, one can copy files into appropriate location under “./mnt/iso_1” directory.

 

  1. sudo umount /mnt/iso_1

 

  1. gzip -9 rootfs.ext2

 

  1. mkimage -A ppc -O linux -T ramdisk -C gzip -n 'rootfs.ext2.gz.uboot' -d rootfs.ext2.gz rootfs.ext2.gz.uboot

 

See commands of the mkimage for generation .itb file.


Have a great day,
Pavel Chubakov

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

1,577件の閲覧回数
byengsunyang
Contributor II

Thanks for your reply.

Is there any way to build using recipe? Is there any way I can solve the method mentioned in the document?

0 件の賞賛
返信