AvaotaSBC / AvaotaOS

AvaotaOS is our official supported operating system.
GNU General Public License v3.0
14 stars 8 forks source link

Packing error while building from source #4

Closed tianjianh closed 3 months ago

tianjianh commented 3 months ago

The images provided in the images seems do not have panfrost enabled. Trying to build from source with x64 on Ubuntu 22.04 and encounter the following error. Please help. Thank you!

CC       genimage-image-vfat.o
  CCLD     genimage
128+0 records in
128+0 records out
134217728 bytes (134 MB, 128 MiB) copied, 0.165681 s, 810 MB/s
mkfs.fat 4.2 (2021-01-31)
mkfs.fat: Warning: lowercase labels might not work properly on some systems
mv: cannot stat '/home/w/AvaotaOS/build_dir/ubuntu-jammy-gnome/boot/*': No such file or directory
4853858304 bytes (4.9 GB, 4.5 GiB) copied, 7 s, 693 MB/s
5282+0 records in
5282+0 records out
5538578432 bytes (5.5 GB, 5.2 GiB) copied, 7.98239 s, 694 MB/s
mke2fs 1.46.5 (30-Dec-2021)
Discarding device blocks: done                            
Creating filesystem with 1352192 4k blocks and 338688 inodes
Filesystem UUID: a72289b1-4b58-4011-bf0e-630046c649a2
Superblock backups stored on blocks: 
    32768, 98304, 163840, 229376, 294912, 819200, 884736

Allocating group tables: done                            
Writing inode tables: done                            
Creating journal (16384 blocks): done
Writing superblocks and filesystem accounting information: done 

INFO: cmd: "mkdir -p "/tmp/tmp.6aqvLldIOF"" (stderr):
INFO: cmd: "rm -rf "/tmp/tmp.6aqvLldIOF"/*" (stderr):
INFO: cmd: "mkdir -p "/home/w/AvaotaOS/build_dir/"" (stderr):
INFO: hdimage(sdcard.img): adding partition 'boot0' from 'bootloader.bin' ...
INFO: hdimage(sdcard.img): adding partition 'boot0-gpt' from 'bootloader.bin' ...
INFO: hdimage(sdcard.img): adding partition 'boot' (in MBR) from 'boot.vfat' ...
INFO: hdimage(sdcard.img): adding partition 'rootfs' (in MBR) from 'rootfs.ext4' ...
INFO: hdimage(sdcard.img): adding partition '[MBR]' ...
INFO: hdimage(sdcard.img): writing MBR
INFO: cmd: "rm -rf "/tmp/tmp.6aqvLldIOF/"" (stderr):
xz success.
build success.

Although it says build success, the built image does not work. Load extlinux failed.

SamulKyull commented 3 months ago

This is because the previous rootfs compilation failed. Please check the log to see what failed

tianjianh commented 3 months ago

Thank you for the reply. It seems that compilation will fail if I enable panfrost. Do you have any idea or have any images built with panfrost enabled?

Will post the error message later. Thank you!

tianjianh commented 3 months ago

Accidentally closed the topic. Reopen it now….

tianjianh commented 3 months ago

Accidentally closed the topic. Reopen it now….