S32G Bsp30.0 bitbake fsl-iamge-auto error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32G Bsp30.0 bitbake fsl-iamge-auto error

1,294 Views
wuwei_93
Contributor I

Dear NXP Support:

When I used command "bitbake fsl-iamge-auto",  error about fsl-image-auto.bb:do_image_sdcard always failed. It shows that "proc/1/root"  can not read. I tried to use sudo to solve this issue. But I failed.

Log as below:

ww@ubuntu:~/S32G/fsl-auto-yocto-bsp/build_s32g274ardb2$ bitbake fsl-image-auto
Loading cache: 100% |########################################################################################################################| Time: 0:00:03
Loaded 4827 entries from dependency cache.
Parsing recipes: 100% |######################################################################################################################| Time: 0:00:01
Parsing of 3239 .bb files complete (3238 cached, 1 parsed). 4830 targets, 296 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "1.48.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "aarch64-fsl-linux"
MACHINE = "s32g274ardb2"
DISTRO = "fsl-auto"
DISTRO_VERSION = "1.0"
TUNE_FEATURES = "aarch64"
TARGET_FPU = ""
meta
meta-poky
meta-yocto-bsp = "HEAD:671fe65b31ca35379916a180415e1ab7d47bd51b"
meta-oe
meta-multimedia
meta-python = "HEAD:ac4ccd2fbbb599d75ca4051911fcbaca39dbe6d7"
meta-python2 = "HEAD:c43c29e57f16af4e77441b201855321fbd546661"
meta-networking
meta-gnome
meta-filesystems
meta-webserver
meta-perl
meta-xfce = "HEAD:ac4ccd2fbbb599d75ca4051911fcbaca39dbe6d7"
meta-virtualization = "HEAD:74e0b8d2acc6b9bbc0345a500a700932d70772f4"
meta-optee = "HEAD:11091b487e1ad4c6a4adfac34d958a3d9d9ccd17"
meta-freescale = "HEAD:41d4f625c6db7a778f0f9a735c2cb48e023bc49b"
meta-alb = "HEAD:19abf428d3eb63940ae4e9cf60f4ce4fa6a6d7e2"

WARNING: /home/ww/S32G/fsl-auto-yocto-bsp/sources/meta-alb/recipes-kernel/linux/linux-s32_5.4.bb:do_compile is tainted from a forced run | ETA: 0:00:00
WARNING: /home/ww/S32G/fsl-auto-yocto-bsp/sources/meta-alb/recipes-bsp/u-boot/u-boot-s32_2020.04.bb:do_compile is tainted from a forced run
Initialising tasks: 100% |###################################################################################################################| Time: 0:00:05
Sstate summary: Wanted 204 Found 203 Missed 1 Current 1621 (99% match, 99% complete)
NOTE: Executing Tasks
ERROR: fsl-image-auto-1.0-r0 do_image_sdcard: Execution of '/home/ww/S32G/fsl-auto-yocto-bsp/build_s32g274ardb2/tmp/work/s32g274ardb2-fsl-linux/fsl-image-auto/1.0-r0/temp/run.do_image_sdcard.2196' failed with exit code 1:
0+0 records in
0+0 records out
0 bytes copied, 0.00203516 s, 0.0 kB/s
1+1 records in
1+1 records out
34811 bytes (35 kB, 34 KiB) copied, 0.000366737 s, 94.9 MB/s
4+1 records in
4+1 records out
163392 bytes (163 kB, 160 KiB) copied, 0.000713494 s, 229 MB/s
uh-oh! '/proc/1/root' seems to be a symlink, but I can't read it. Ignoring.sh: 1: udevadm: not found
sh: 1: udevadm: not found
uh-oh! '/proc/1/root' seems to be a symlink, but I can't read it. Ignoring.sh: 1: udevadm: not found
sh: 1: udevadm: not found
uh-oh! '/proc/1/root' seems to be a symlink, but I can't read it. Ignoring.sh: 1: udevadm: not found
sh: 1: udevadm: not found
Model: (file)
Disk /home/ww/S32G/fsl-auto-yocto-bsp/build_s32g274ardb2/tmp/work/s32g274ardb2-fsl-linux/fsl-image-auto/1.0-r0/deploy-fsl-image-auto-image-complete/fsl-image-auto-s32g274ardb2-20220609071414.rootfs.sdcard: 520MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number Start End Size Type File system Flags
1 4194kB 25.2MB 21.0MB primary lba
2 25.2MB 516MB 491MB primary

1+0 records in
1+0 records out
256 bytes copied, 0.0254634 s, 10.1 kB/s
1548+1 records in
1548+1 records out
792791 bytes (793 kB, 774 KiB) copied, 0.0698607 s, 11.3 MB/s
8192+0 records in
8192+0 records out
8192 bytes (8.2 kB, 8.0 KiB) copied, 0.00560761 s, 1.5 MB/s
mkfs.fat: warning - lowercase labels might not work properly with DOS or Windows
mkfs.fat 4.1 (2017-01-24)
Disk full
WARNING: exit code 1 from a shell command.

ERROR: Logfile of failure stored in: /home/ww/S32G/fsl-auto-yocto-bsp/build_s32g274ardb2/tmp/work/s32g274ardb2-fsl-linux/fsl-image-auto/1.0-r0/temp/log.do_image_sdcard.2196
Log data follows:
| DEBUG: Executing python function set_image_size
| DEBUG: 476689.200000 = 366684 * 1.300000
| DEBUG: 476689.200000 = max(476689.200000, 8192)[476689.200000] + 0
| DEBUG: 476690.000000 = int(476689.200000)
| DEBUG: 479232 = aligned(476690)
| DEBUG: returning 479232
| DEBUG: Python function set_image_size finished
| DEBUG: Executing shell function do_image_sdcard
| 0+0 records in
| 0+0 records out
| 0 bytes copied, 0.00203516 s, 0.0 kB/s
| NOTE: Generating sdcard entry at 12517376 for fsl-s32g274a-rdb2.dtb
| 1+1 records in
| 1+1 records out
| 34811 bytes (35 kB, 34 KiB) copied, 0.000366737 s, 94.9 MB/s
| NOTE: Generating sdcard entry at 50331648 for s32g_pfe_class.fw
| 4+1 records in
| 4+1 records out
| 163392 bytes (163 kB, 160 KiB) copied, 0.000713494 s, 229 MB/s
| uh-oh! '/proc/1/root' seems to be a symlink, but I can't read it. Ignoring.sh: 1: udevadm: not found
| sh: 1: udevadm: not found
| uh-oh! '/proc/1/root' seems to be a symlink, but I can't read it. Ignoring.sh: 1: udevadm: not found
| sh: 1: udevadm: not found
| uh-oh! '/proc/1/root' seems to be a symlink, but I can't read it. Ignoring.sh: 1: udevadm: not found
| sh: 1: udevadm: not found
| Model: (file)
| Disk /home/ww/S32G/fsl-auto-yocto-bsp/build_s32g274ardb2/tmp/work/s32g274ardb2-fsl-linux/fsl-image-auto/1.0-r0/deploy-fsl-image-auto-image-complete/fsl-image-auto-s32g274ardb2-20220609071414.rootfs.sdcard: 520MB
| Sector size (logical/physical): 512B/512B
| Partition Table: msdos
| Disk Flags:
|
| Number Start End Size Type File system Flags
| 1 4194kB 25.2MB 21.0MB primary lba
| 2 25.2MB 516MB 491MB primary
|
| 1+0 records in
| 1+0 records out
| 256 bytes copied, 0.0254634 s, 10.1 kB/s
| 1548+1 records in
| 1548+1 records out
| 792791 bytes (793 kB, 774 KiB) copied, 0.0698607 s, 11.3 MB/s
| 8192+0 records in
| 8192+0 records out
| 8192 bytes (8.2 kB, 8.0 KiB) copied, 0.00560761 s, 1.5 MB/s
| mkfs.fat: warning - lowercase labels might not work properly with DOS or Windows
| mkfs.fat 4.1 (2017-01-24)
| Disk full
| WARNING: exit code 1 from a shell command.
| ERROR: Execution of '/home/ww/S32G/fsl-auto-yocto-bsp/build_s32g274ardb2/tmp/work/s32g274ardb2-fsl-linux/fsl-image-auto/1.0-r0/temp/run.do_image_sdcard.2196' failed with exit code 1:
| 0+0 records in
| 0+0 records out
| 0 bytes copied, 0.00203516 s, 0.0 kB/s
| 1+1 records in
| 1+1 records out
| 34811 bytes (35 kB, 34 KiB) copied, 0.000366737 s, 94.9 MB/s
| 4+1 records in
| 4+1 records out
| 163392 bytes (163 kB, 160 KiB) copied, 0.000713494 s, 229 MB/s
| uh-oh! '/proc/1/root' seems to be a symlink, but I can't read it. Ignoring.sh: 1: udevadm: not found
| sh: 1: udevadm: not found
| uh-oh! '/proc/1/root' seems to be a symlink, but I can't read it. Ignoring.sh: 1: udevadm: not found
| sh: 1: udevadm: not found
| uh-oh! '/proc/1/root' seems to be a symlink, but I can't read it. Ignoring.sh: 1: udevadm: not found
| sh: 1: udevadm: not found
| Model: (file)
| Disk /home/ww/S32G/fsl-auto-yocto-bsp/build_s32g274ardb2/tmp/work/s32g274ardb2-fsl-linux/fsl-image-auto/1.0-r0/deploy-fsl-image-auto-image-complete/fsl-image-auto-s32g274ardb2-20220609071414.rootfs.sdcard: 520MB
| Sector size (logical/physical): 512B/512B
| Partition Table: msdos
| Disk Flags:
|
| Number Start End Size Type File system Flags
| 1 4194kB 25.2MB 21.0MB primary lba
| 2 25.2MB 516MB 491MB primary
|
| 1+0 records in
| 1+0 records out
| 256 bytes copied, 0.0254634 s, 10.1 kB/s
| 1548+1 records in
| 1548+1 records out
| 792791 bytes (793 kB, 774 KiB) copied, 0.0698607 s, 11.3 MB/s
| 8192+0 records in
| 8192+0 records out
| 8192 bytes (8.2 kB, 8.0 KiB) copied, 0.00560761 s, 1.5 MB/s
| mkfs.fat: warning - lowercase labels might not work properly with DOS or Windows
| mkfs.fat 4.1 (2017-01-24)
| Disk full
| WARNING: exit code 1 from a shell command.
|
ERROR: Task (/home/ww/S32G/fsl-auto-yocto-bsp/sources/meta-alb/recipes-fsl/images/fsl-image-auto.bb:do_image_sdcard) failed with exit code '1'
NOTE: Tasks Summary: Attempted 4479 tasks of which 4478 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
/home/ww/S32G/fsl-auto-yocto-bsp/sources/meta-alb/recipes-fsl/images/fsl-image-auto.bb:do_image_sdcard
Summary: There were 2 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

 

 

 

0 Kudos
Reply
2 Replies

452 Views
KJNK
Contributor II

Please delete the tmp folder and rebuild it. It will work

0 Kudos
Reply

1,263 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello wuwei_93,

 

Please deleted all your yocto in your system and restart again, don't forget that you will have to install the host packages.

And deleted cached

 

Regards

 

0 Kudos
Reply