Name Date Size #Lines LOC

..--

rootfs_overlay/lib/firmware/brcm/H05-Jun-2025-4342

readme.txtH A D05-Jun-20252.7 KiB11977

readme.txt

1*****************
2Warp i.MX7S board
3*****************
4
5This file documents the Buildroot support for the Warp i.MX7S board.
6
7Build
8=====
9
10First, configure Buildroot for the Warp i.MX7S board:
11
12  make warp7_defconfig
13
14Build all components:
15
16  make
17
18You will find in output/images/ the following files:
19  - imx7s-warp.dtb
20  - rootfs.ext4
21  - rootfs.tar
22  - sdcard.img
23  - u-boot-dtb.imx
24  - zImage
25
26Flash the eMMC image
27====================
28
29In the U-Boot prompt lauch:
30
31=> ums 0 mmc 0
32
33This will mount the eMMC content in the host PC as a mass storage device.
34
35To determine the device associated to the eMMC have a look in the
36/proc/partitions file:
37
38  cat /proc/partitions
39
40Buildroot prepares a bootable "sdcard.img" image in the output/images/
41directory, ready to be dumped into the eMMC. Launch the following
42command:
43
44sudo dd if=output/images/sdcard.img of=/dev/<your-emmc-device>
45
46*** WARNING! This will destroy all the eMMC content. Use it with care! ***
47
48For details about the medium image layout, see the definition in
49board/warp7/genimage.cfg.
50
51How to recover from a bad eMMC image
52====================================
53
54In case a bad U-Boot has been flashed to the eMMC and the board no
55longer boots, it is possible to recover using the imx_usb_loader utility.
56
57Put the warp7 board in USB download mode by removing the CPU board
58from the base board then putting switch 2 in the upper position.
59
60Connect a USB to serial adapter between the host PC and warp7 serial
61USB port, and also a USB cable between the OTG warp7 port and the host
62PC.
63
64Copy u-boot-dtb.imx to the imx_usb_loader folder.
65
66Load u-boot-dtb.imx via USB:
67
68$ sudo ./imx_usb u-boot-dtb.imx
69
70Then U-Boot should start and its messages will appear in the console program.
71
72Open a terminal program such as minicom.
73
74Use the default environment variables:
75
76=> env default -f -a
77=> saveenv
78
79Run the DFU command:
80=> dfu 0 mmc 0
81
82Transfer u-boot-dtb.imx that will be flashed into the eMMC:
83
84$ sudo dfu-util -D u-boot-dtb.imx -a boot
85
86Then on the U-Boot prompt the following message should be seen after a
87successful upgrade:
88
89#DOWNLOAD ... OK
90Ctrl+C to exit ...
91
92=> ums 0 mmc 0
93
94sudo dd if=output/images/sdcard.img of=/dev/<your-emmc-device>
95
96Put warp7 back in eMMC boot mode by placing switch 2 in the lower position
97and reboot the board.
98
99Boot the Warp i.MX7S board
100==========================
101
102To boot your newly created system:
103- put a micro USB cable into the Debug USB Port and connect using a terminal
104  emulator at 115200 bps, 8n1;
105- power on the board.
106
107Using Wifi
108==========
109
110# modprobe brcmfmac
111# iwconfig wlan0 essid ACCESSPOINTNAME
112# wpa_passphrase ACCESSPOINTNAME > /etc/wpa.conf
113(enter the wifi password and press enter)
114# wpa_supplicant -Dwext -iwlan0 -c /etc/wpa.conf &
115# udhcpc -i wlan0
116# ping buildroot.org
117
118Enjoy!
119