aananthcn / meta-virt-rpi

To store recipes, scripts and patches for Raspberry Pi
MIT License
2 stars 0 forks source link

Issue during image crestion #2

Open Abhishek2581 opened 3 weeks ago

Abhishek2581 commented 3 weeks ago

Hi, I am using this repo to build XEN DOM0 image to learn XEN, but when bitbak dom0-image, i have issue do_image_complete task. Below is the log of error ERROR: dom0-image-1.0-r0 do_image_complete: Execution of '/data/xen-pop/build/tmp-glibc/work/raspberrypi4_64-oe-linux/dom0-image/1.0-r0/temp/run.do_image_complete.78440' failed with exit code 127 ERROR: Logfile of failure stored in: /data/xen-pop/build/tmp-glibc/work/raspberrypi4_64-oe-linux/dom0-image/1.0-r0/temp/log.do_image_complete.78440 Log data follows: | DEBUG: Executing python function sstate_task_prefunc | DEBUG: Python function sstate_task_prefunc finished | DEBUG: Executing shell function do_image_complete | 262144+0 records in | 262144+0 records out | 268435456 bytes (268 MB, 256 MiB) copied, 0.393471 s, 682 MB/s | mkfs.fat 4.1 (2017-01-24) | Copying Image | Copying bcm2711-rpi-4-b.dtb | Copying bootcode.bin | Copying bootfiles-20210527.stamp | Copying cmdline.txt | Copying config.txt | Copying fixup.dat | Copying fixup4.dat | Copying fixup4cd.dat | Copying fixup4db.dat | Copying fixup4x.dat | Copying fixup_cd.dat | Copying fixup_db.dat | Copying fixup_x.dat | Copying overlays | Copying pi4-64-xen.dtbo | Copying start.elf | Copying start4.elf | Copying start4cd.elf | Copying start4db.elf | Copying start4x.elf | Copying start_cd.elf | Copying start_db.elf | Copying start_x.elf | Copying u-boot.bin | Copying uboot.env | Copying xen-raspberrypi4-64 | /data/xen-pop/build/tmp-glibc/work/raspberrypi4_64-oe-linux/dom0-image/1.0-r0/temp/run.do_image_complete.78440: 132: qemu-img: not found | WARNING: exit code 127 from a shell command. | ERROR: Execution of '/data/xen-pop/build/tmp-glibc/work/raspberrypi4_64-oe-linux/dom0-image/1.0-r0/temp/run.do_image_complete.78440' failed with exit code 127 ERROR: Task (/data/xen-pop/meta-virt-rpi/images/dom0-image.bb:do_image_complete) failed with exit code '1'

Could you please help me in resolving this issue, i am very new to xen and yocto.

Abhishek2581 commented 3 weeks ago

I am able to fix the above issue, but now when insterted SD card with RPI4B with generated image i have boot issue, logs for the same is

U-Boot 2020.07-ACN (Aug 22 2024 - 16:31:43 +0000)

DRAM: 948 MiB RPI 4 Model B (0xd03115) MMC: mmcnr@7e300000: 1, emmc2@7e340000: 0 Loading Environment from FAT... No partition table - mmc 0 In: serial Out: serial Err: serial Net: eth0: genet@7d580000 starting USB... No working controllers found Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0 is current device No partition table - mmc 0 Card did not respond to voltage select! starting USB... No working controllers found USB is stopped. Please issue 'usb start' first. starting USB... No working controllers found genet@7d580000 Waiting for PHY auto negotiation to complete......... TIMEOUT ! bcmgenet: PHY startup failed: -110 missing environment variable: pxeuuid missing environment variable: bootfile Retrieving file: pxelinux.cfg/01-d8-3a-dd-92-18-f8 genet@7d580000 Waiting for PHY auto negotiation to complete......... TIMEOUT ! bcmgenet: PHY startup failed: -110 missing environment variable: bootfile Retrieving file: pxelinux.cfg/00000000 genet@7d580000 Waiting for PHY auto negotiation to complete......... TIMEOUT ! bcmgenet: PHY startup failed: -110 missing environment variable: bootfile Retrieving file: pxelinux.cfg/0000000 genet@7d580000 Waiting for PHY auto negotiation to complete......... TIMEOUT ! bcmgenet: PHY startup failed: -110 missing environment variable: bootfile Retrieving file: pxelinux.cfg/000000 genet@7d580000 Waiting for PHY auto negotiation to complete......... TIMEOUT ! bcmgenet: PHY startup failed: -110 missing environment variable: bootfile Retrieving file: pxelinux.cfg/00000 genet@7d580000 Waiting for PHY auto negotiation to complete......... TIMEOUT ! bcmgenet: PHY startup failed: -110 missing environment variable: bootfile Retrieving file: pxelinux.cfg/0000 genet@7d580000 Waiting for PHY auto negotiation to complete......... TIMEOUT ! bcmgenet: PHY startup failed: -110 missing environment variable: bootfile Retrieving file: pxelinux.cfg/000 genet@7d580000 Waiting for PHY auto negotiation to complete......... TIMEOUT ! bcmgenet: PHY startup failed: -110 missing environment variable: bootfile Retrieving file: pxelinux.cfg/00 genet@7d580000 Waiting for PHY auto negotiation to complete......... TIMEOUT ! bcmgenet: PHY startup failed: -110 missing environment variable: bootfile Retrieving file: pxelinux.cfg/0 genet@7d580000 Waiting for PHY auto negotiation to complete......... TIMEOUT ! bcmgenet: PHY startup failed: -110 missing environment variable: bootfile Retrieving file: pxelinux.cfg/default-arm-bcm283x-rpi genet@7d580000 Waiting for PHY auto negotiation to complete......... TIMEOUT ! bcmgenet: PHY startup failed: -110 missing environment variable: bootfile Retrieving file: pxelinux.cfg/default-arm-bcm283x genet@7d580000 Waiting for PHY auto negotiation to complete......... TIMEOUT ! bcmgenet: PHY startup failed: -110 missing environment variable: bootfile Retrieving file: pxelinux.cfg/default-arm genet@7d580000 Waiting for PHY auto negotiation to complete......... TIMEOUT ! bcmgenet: PHY startup failed: -110 missing environment variable: bootfile Retrieving file: pxelinux.cfg/default genet@7d580000 Waiting for PHY auto negotiation to complete......... TIMEOUT ! bcmgenet: PHY startup failed: -110 Config file not found starting USB... No working controllers found genet@7d580000 Waiting for PHY auto negotiation to complete......... TIMEOUT ! bcmgenet: PHY startup failed: -110 genet@7d580000 Waiting for PHY auto negotiation to complete......... TIMEOUT ! bcmgenet: PHY startup failed: -110 U-Boot> No working controllers found Unknown command 'No' - try 'help' U-Boot> genet@7dnegotiatin to complete......... TIMEOUT ! Unknown command 'genet@7dnegotiatin' - try 'help' U-Boot> bcmgenetuid Unknown command 'bcmgenetuid' - try 'help' U-Boot> missing ux.cfg/01-d8-3a-dd-92-18-f8 Unknown command 'missing' - try 'help' U-Boot> genet@7de......... TIMEOUT ! Unknown command 'genet@7de.........' - try 'help' U-Boot> bcmgenetfile Unknown command 'bcmgenetfile' - try 'help' U-Boot> Retrievior PHY auto negotiation to complete......... TMEOUT ! Unknown command 'Retrievior' - try 'help' U-Boot> bcmgenetble: boofile Unknown command 'bcmgenetble:' - try 'help' U-Boot> Retrievior PHY auo negotiation to complete......... TIMEOUT ! Unknown command 'Retrievior' - try 'help' U-Boot> bcmgenetle: bootfile Unknown command 'bcmgenetle:' - try 'help' U-Boot> Retrievir PHY auto negotiation to complete......... TIMOUT ! Unknown command 'Retrievir' - try 'help' U-Boot> bcmgenetable: bootfle Unknown command 'bcmgenetable:' - try 'help' U-Boot> RetrieviPHY auto egotiation to complete......... TIMEOUT ! Unknown command 'RetrieviPHY' - try 'help' U-Boot> bcmgenete: bootfile Unknown command 'bcmgenete:' - try 'help' U-Boot> Retrievi PHY auto negotiation to complete......... TIMEOUT !bcmgenet: PHY startup failed: -110 Unknown command 'Retrievi' - try 'help' U-Boot> missing linux.cfg/000 Unknown command 'missing' - try 'help' U-Boot> genet@7de......... TIMEOUT ! Unknown command 'genet@7de.........' - try 'help' U-Boot> bcmgenetfile Unknown command 'bcmgenetfile' - try 'help' U-Boot> Retrievi auto negotiation to complete......... TIMEOUT ! Unknown command 'Retrievi' - try 'help' U-Boot> bcmgenetable: bootfile Unknown command 'bcmgenetable:' - try 'help' U-Boot> Retrieviuto negotiation to compete......... TIMEOUT ! Unknown command 'Retrieviuto' - try 'help' U-Boot> bcmgenete: bootfile Unknown command 'bcmgenete:' - try 'help' U-Boot> Retrievid580000 Waiting for PHY auto negotiation to complete......... TIMEOUT Unknown command 'Retrievid580000' - try 'help' U-Boot> bcmgenetbootfile Unknown command 'bcmgenetbootfile' - try 'help' U-Boot> Rtrieviniting for HY auto negotiation to complete......... TIMEOUT ! Unknown command 'Rtrieviniting' - try 'help' U-Boot> bcmgenet bootfile Unknown command 'bcmgenet' - try 'help' U-Boot> Retrieviiting for PHY auto negotiation to complete........ TIMEOUT ! Unknown command 'Retrieviiting' - try 'help' U-Boot> bcmgenet bootfile Unknown command 'bcmgenet' - try 'help' U-Boot> Retrieving fo PHY auto negotiation to complete......... TIMEOUT ! Unknown command 'Retrieving' - try 'help' U-Boot> bcmgenetting USB... Unknown command 'bcmgenetting' - try 'help' U-Boot> No workno negotiatin to complete......... TIMEOUT ! Unknown command 'No' - try 'help' U-Boot> bcmgenetting for PHY auto negotiation to complete........ TIMEOUT !