xref: /OK3568_Linux_fs/buildroot/board/technexion/imx6ulpico/readme.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun*****************************
2*4882a593SmuzhiyunTechnexion i.MX6UL Pico board
3*4882a593Smuzhiyun*****************************
4*4882a593Smuzhiyun
5*4882a593SmuzhiyunThis file documents the Buildroot support for the Technexion i.MX6UL Pico board.
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunBuild
8*4882a593Smuzhiyun=====
9*4882a593Smuzhiyun
10*4882a593SmuzhiyunFirst, configure Buildroot for the i.MX6UL Pico board:
11*4882a593Smuzhiyun
12*4882a593Smuzhiyun  make imx6ulpico_defconfig
13*4882a593Smuzhiyun
14*4882a593SmuzhiyunBuild all components:
15*4882a593Smuzhiyun
16*4882a593Smuzhiyun  make
17*4882a593Smuzhiyun
18*4882a593SmuzhiyunYou will find in output/images/ the following files:
19*4882a593Smuzhiyun  - imx6ul-pico-hobbit.dtb
20*4882a593Smuzhiyun  - rootfs.ext4
21*4882a593Smuzhiyun  - rootfs.tar
22*4882a593Smuzhiyun  - sdcard.img
23*4882a593Smuzhiyun  - u-boot.imx
24*4882a593Smuzhiyun  - zImage
25*4882a593Smuzhiyun
26*4882a593SmuzhiyunCreate a bootable SD card
27*4882a593Smuzhiyun=========================
28*4882a593Smuzhiyun
29*4882a593SmuzhiyunIn the U-Boot prompt lauch:
30*4882a593Smuzhiyun
31*4882a593Smuzhiyun=> ums 0 mmc 0
32*4882a593Smuzhiyun
33*4882a593SmuzhiyunThis will mount the eMMC content in the host PC as a mass storage device.
34*4882a593Smuzhiyun
35*4882a593SmuzhiyunTo determine the device associated to the eMMC card have a look in the
36*4882a593Smuzhiyun/proc/partitions file:
37*4882a593Smuzhiyun
38*4882a593Smuzhiyun  cat /proc/partitions
39*4882a593Smuzhiyun
40*4882a593SmuzhiyunBuildroot prepares a bootable "sdcard.img" image in the output/images/
41*4882a593Smuzhiyundirectory, ready to be dumped on the eMMC card. Launch the following
42*4882a593Smuzhiyuncommand as root:
43*4882a593Smuzhiyun
44*4882a593Smuzhiyun  dd if=output/images/sdcard.img of=/dev/<your-sd-device>
45*4882a593Smuzhiyun
46*4882a593Smuzhiyun*** WARNING! This will destroy all the card content. Use with care! ***
47*4882a593Smuzhiyun
48*4882a593SmuzhiyunFor details about the medium image layout, see the definition in
49*4882a593Smuzhiyunboard/freescale/common/imx/genimage.cfg.template.
50*4882a593Smuzhiyun
51*4882a593SmuzhiyunBoot the i.MX6UL Pico board
52*4882a593Smuzhiyun=========================
53*4882a593Smuzhiyun
54*4882a593SmuzhiyunTo boot your newly created system:
55*4882a593Smuzhiyun- put a micro USB cable into the Debug USB Port and connect using a terminal
56*4882a593Smuzhiyun  emulator at 115200 bps, 8n1;
57*4882a593Smuzhiyun- power on the board.
58*4882a593Smuzhiyun
59*4882a593SmuzhiyunUsing Wifi
60*4882a593Smuzhiyun==========
61*4882a593Smuzhiyun
62*4882a593Smuzhiyun# modprobe brcmfmac
63*4882a593Smuzhiyun# iwconfig wlan0 essid ACCESSPOINTNAME
64*4882a593Smuzhiyun# wpa_passphrase ACCESSPOINTNAME > /etc/wpa.conf
65*4882a593Smuzhiyun(enter the wifi password and press enter)
66*4882a593Smuzhiyun# wpa_supplicant -Dwext -iwlan0 -c /etc/wpa.conf &
67*4882a593Smuzhiyun# udhcpc -i wlan0
68*4882a593Smuzhiyun# ping buildroot.org
69*4882a593Smuzhiyun
70*4882a593SmuzhiyunEnjoy!
71