thanhduongvs / note

0 stars 0 forks source link

uuu #17

Open thanhduongvs opened 5 months ago

thanhduongvs commented 5 months ago

mkdir imx-yocto cd imx-yocto repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-zeus -m imx-5.4.24-2.1.0.xml repo sync -j20

cd imx-yocto/sources git clone https://github.com/Avnet/meta-maaxboard.git -b zeus

cd imx-yocto mkdir imx8mqevk DISTRO=fsl-imx-wayland MACHINE=imx8mqevk source imx-setup-release.sh -b imx8mqevk rm -rf imx8mqevk

cd imx-yocto mkdir -p maaxboard/build source sources/poky/oe-init-build-env maaxboard/build

cd imx-yocto maaxboard/build

cp sources/meta-maaxboard/conf/local.conf.sample maaxboard/build/conf/local.conf cp sources/meta-maaxboard/conf/bblayers.conf.sample maaxboard/build/conf/bblayers.conf

source sources/poky/oe-init-build-env maaxboard/build bitbake lite-image

sudo uuu -v -b emmc_all imx-boot-maaxboard-ddr4-2g-sdcard-sd.bin-flash_ddr4_val lite-image-maaxboard-ddr4-2g-sdcard.sdcard snap connect universal-update-utility:removable-media

sudo uuu -b emmc flash.bin

U-Boot SPL 2022.04-g4cfd81aa0f-dirty (Dec 27 2022 - 14:20:48 +0700) power_bd71837_init DDRINFO: start DRAM init DDRINFO: DRAM rate 2400MTS DDRINFO:ddrphy calibration done DDRINFO: ddrmix config done Normal Boot Trying to boot from USB SDP SDP: initialize... SDP: handle requests... Downloading file of size 1073888 to 0x40400000... done Jumping to header at 0x40400000 Header Tag is not an IMX image Found header at 0x4040e5a0

U-Boot SPL 2021.04-g57928ce5-dirty (Dec 27 2022 - 16:50:07 +0700) power_bd71837_init DDRINFO: start DRAM init DDRINFO: DRAM rate 2400MTS DDRINFO:ddrphy calibration done DDRINFO: ddrmix config done Normal Boot Trying to boot from USB SDP SDP: initialize... SDP: handle requests... Downloading file of size 1147624 to 0x40400000... done Jumping to header at 0x40400000 Header Tag is not an IMX image Found header at 0x40428c00

U-Boot 2021.04-g57928ce5-dirty (Dec 27 2022 - 16:50:07 +0700)

CPU: i.MX8MQ rev2.0 1300 MHz (running at 800 MHz) CPU: Industrial temperature grade (-40C to 105C) at 34C Reset cause: POR Model: NXP i.MX8MQ DDR4 VAL DRAM: 3 GiB NAND: 0 MiB MMC: FSL_SDHC: 0 Loading Environment from MMC... MMC Device 1 not found *** Warning - No MMC card found, using default environment

In: serial Out: serial Err: serial

BuildInfo:

MMC Device 1 not found no mmc device at slot 1 Detect USB boot. Will enter fastboot mode! Net: Could not get PHY for FEC0: addr 0 Could not get PHY for FEC0: addr 0 No ethernet found.

Fastboot: Normal Boot from USB for mfgtools *** Warning - Use default environment for mfgtools , using default environment

Run bootcmd_mfg: run mfgtool_args;if iminfo ${initrd_addr}; then if test ${tee} = yes; then bootm ${tee_addr} ${initrd_addr} ${fdt_addr}; else booti ${loadaddr} ${initrd_addr} ${fdt_addr}; fi; else echo "Run fastboot ..."; fastboot 0; fi; Hit any key to stop autoboot: 0

Checking Image at 43800000 ...

Unknown image format! Run fastboot ... Detect USB boot. Will enter fastboot mode! flash target is MMC:1 MMC Device 1 not found invalid mmc device 1 (NULL udevice ): request 00000000ff9140c0 was not queued to ep1in-bulk Detect USB boot. Will enter fastboot mode! flash target is MMC:0 (NULL udevice ): request 00000000ff9140c0 was not queued to ep1in-bulk switch to partitions #0, OK mmc0(part 0) is current device Detect USB boot. Will enter fastboot mode! (NULL udevice ): request 00000000ff9140c0 was not queued to ep1in-bulk (NULL udevice ): request 00000000ff9140c0 was not queued to ep1in-bulk Starting download of 1340136 bytes (NULL udevice ): request 00000000ff9140c0 was not queued to ep1in-bulk .......... downloading of 1340136 bytes finished (NULL udevice ): request 00000000ff9140c0 was not queued to ep1in-bulk writing to partition 'bootloader' Initializing 'bootloader' switch to partitions #1, OK mmc0(part 1) is current device Writing 'bootloader'

MMC write: dev # 0, block # 66, count 2618 ... 2618 blocks written: OK Writing 'bootloader' DONE! (NULL udevice ): request 00000000ff9140c0 was not queued to ep1in-bulk Detect USB boot. Will enter fastboot mode! (NULL udevice ): request 00000000ff9140c0 was not queued to ep1in-bulk Detect USB boot. Will enter fastboot mode! (NULL udevice *): request 00000000ff9140c0 was not queued to ep1in-bulk

thanhduongvs commented 3 weeks ago