xref: /OK3568_Linux_fs/buildroot/board/pcengines/apu2/readme.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunIntro
2*4882a593Smuzhiyun=====
3*4882a593Smuzhiyun
4*4882a593SmuzhiyunThis is a board configuration for the apu2 platform by PC Engines.
5*4882a593Smuzhiyun
6*4882a593Smuzhiyunhttps://pcengines.ch/apu2.htm
7*4882a593Smuzhiyun
8*4882a593SmuzhiyunSince the apu2 does not have any graphical output, the default configuration
9*4882a593Smuzhiyunwill ensure that the kernel output as well as the login prompt will be sent to
10*4882a593Smuzhiyunthe serial port.
11*4882a593Smuzhiyun
12*4882a593SmuzhiyunHow to build
13*4882a593Smuzhiyun============
14*4882a593Smuzhiyun
15*4882a593SmuzhiyunThe provided defconfig creates a hybrid isolinux image that can be booted from
16*4882a593Smuzhiyuneither an USB stick or a CD.
17*4882a593Smuzhiyun
18*4882a593Smuzhiyun    $ make pcengines_apu2_defconfig
19*4882a593Smuzhiyun    $ make
20*4882a593Smuzhiyun
21*4882a593SmuzhiyunHow to write to an USB stick
22*4882a593Smuzhiyun============================
23*4882a593Smuzhiyun
24*4882a593SmuzhiyunOnce the build process is finished you will have an image
25*4882a593Smuzhiyuncalled "rootfs.iso9660" in the output/images/ directory.
26*4882a593Smuzhiyun
27*4882a593SmuzhiyunCopy the bootable "rootfs.iso9660" onto the USB stick with "dd":
28*4882a593Smuzhiyun
29*4882a593Smuzhiyun    $ sudo dd if=output/images/rootfs.iso9660 of=/dev/sdX bs=1M conv=fsync
30*4882a593Smuzhiyun    $ sudo sync
31*4882a593Smuzhiyun
32*4882a593SmuzhiyunHow to connect to the apu2
33*4882a593Smuzhiyun==========================
34*4882a593Smuzhiyun
35*4882a593SmuzhiyunConnect to the DB9 serial port of the apu2 board (either directly or through a
36*4882a593SmuzhiyunUSB adapter) with a baudrate of 115200.
37*4882a593Smuzhiyun
38*4882a593SmuzhiyunFor example with miniterm (part of pyserial):
39*4882a593Smuzhiyun
40*4882a593Smuzhiyun    $ miniterm.py -f direct /dev/ttyUSB0 115200
41