Ich arbeite an yocto-Projekt, um Bilder für BBB.I geklont das Projekt git clone -b pyro git://git.yoctoproject.org/poky
dann initiiert den Build-Prozess. Gebacken mit bitbake core-image-sato
und bekam das Build-Verzeichnis mit Dateien.Beaglebone Black bootet nicht mit dem yocto-Bild
Ich habe 2 Partitionen auf SD-Karte mit 64M für Root und Rest (15 + GB) zum Booten erstellt. Kopiert MLO and u-boot-beaglebone.img
zu root partition
.
Untared die core-image-sato-beaglebone.tar.bz2
auf Root-Partition und dann zImage-beaglebone.bin, zImage-am335x-bone.dtb, zImage-am335x-boneblack.dtb
unter Boot-Partition kopiert.
Als ich versucht habe, BBB zu booten gefunden, dass U-Boot erwartet uEnv.txt und stecken bleiben dort. Das YoCto-Build-Verzeichnis hat keine uEnv.txt, also wie man eigene uEnv.txt schreibt? Dies ist die U-Boot-Eingabeaufforderung. Hit any key to stop autoboot: 0 gpio: pin 53 (gpio 53) value is 1 mmc0 is current device micro SD card found mmc0 is current device gpio: pin 54 (gpio 54) value is 1 SD/MMC found on device 0 reading uEnv.txt ** Unable to read file uEnv.txt ** gpio: pin 55 (gpio 55) value is 1 ** File not found /boot/uImage ** U-Boot#
Ich habe uEnv.txt in Root-Partition mit Text als mmcdev=0 mmcpart=1 bootpart=0:1
Diesmal u-boot ein uImage
von /boot
Verzeichnis zu lesen versucht, aber ich habe zImage
was diesen Konflikt jetzt? Wie soll ich es lösen?
SD/MMC found on device 0 reading uEnv.txt 32 bytes read in 4 ms (7.8 KiB/s) Loaded environment from uEnv.txt Importing environment from mmc ... gpio: pin 55 (gpio 55) value is 1 reading /boot/uImage ** Unable to read file /boot/uImage ** U-Boot#
https://unix.stackexchange.com/questions/122526/how-to-convert-a-zimage -into-uimage-for-boot-mit-u-boot – h0ch5tr4355
@ h0ch5tr4355 also Sie sagen, es ist zwingend erforderlich, um zImage in uImage und u-Boot kann zImages nicht laden? Und was ist mit 'zImage-am335x-boneblack.dtb, zImage-am335x-bone.dtb, zImage-beaglebone.bin' muss ich sie auch konvertieren? – user7345878
Ich folgte dem im obigen Link genannten Schritt. Dieses Mal u-Boot geht in eine Endlosschleife, während die uImage Lesen 'Daten abbrechen pc: [<9f376478>] vl: [<9f35a494>] sp: 9f238060 ip: 9f238090 fp: 00000da1 r10: 00000080 r9: 00000200 r8: 9f238f40 r7 : 00000000 r6: 00564a00 r5: 00000020 r4: 48060100 r3: 00000000 r2: 56190527 r1: 00000da2 r0: 00000001 Flags: Nzcv IRQs off FIQs auf Modus SVC_32 Zurücksetzen CPU ... Zurücksetzen ... ' – user7345878