xref: /OK3568_Linux_fs/buildroot/board/beaglebone/readme.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunCircuitCo BeagleBone
2*4882a593SmuzhiyunTexas Instuments AM335x Evaluation Module (TMDXEVM3358)
3*4882a593Smuzhiyun
4*4882a593SmuzhiyunDescription
5*4882a593Smuzhiyun===========
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunThis configuration will build a complete image for the beaglebone and
8*4882a593Smuzhiyunthe TI AM335x-EVM, the board type is identified by the on-board
9*4882a593SmuzhiyunEEPROM. The configuration is based on the
10*4882a593Smuzhiyunti-processor-sdk-06.01.00.08. Device tree blobs for beaglebone
11*4882a593Smuzhiyunvariants and the evm-sk are built too.
12*4882a593Smuzhiyun
13*4882a593SmuzhiyunFor Qt5 support support use the beaglebone_qt5_defconfig.
14*4882a593Smuzhiyun
15*4882a593SmuzhiyunHow to build it
16*4882a593Smuzhiyun===============
17*4882a593Smuzhiyun
18*4882a593SmuzhiyunSelect the default configuration for the target:
19*4882a593Smuzhiyun$ make beaglebone_defconfig
20*4882a593Smuzhiyun
21*4882a593SmuzhiyunOptional: modify the configuration:
22*4882a593Smuzhiyun$ make menuconfig
23*4882a593Smuzhiyun
24*4882a593SmuzhiyunBuild:
25*4882a593Smuzhiyun$ make
26*4882a593Smuzhiyun
27*4882a593SmuzhiyunResult of the build
28*4882a593Smuzhiyun===================
29*4882a593Smuzhiyunoutput/images/
30*4882a593Smuzhiyun+-- am335x-boneblack.dtb
31*4882a593Smuzhiyun+-- am335x-bone.dtb
32*4882a593Smuzhiyun+-- am335x-evm.dtb
33*4882a593Smuzhiyun+-- am335x-evmsk.dtb
34*4882a593Smuzhiyun+-- boot.vfat
35*4882a593Smuzhiyun+-- MLO
36*4882a593Smuzhiyun+-- rootfs.ext2
37*4882a593Smuzhiyun+-- rootfs.tar
38*4882a593Smuzhiyun+-- sdcard.img
39*4882a593Smuzhiyun+-- u-boot.img
40*4882a593Smuzhiyun+-- uEnv.txt
41*4882a593Smuzhiyun+-- zImage
42*4882a593Smuzhiyun
43*4882a593SmuzhiyunTo copy the image file to the sdcard use dd:
44*4882a593Smuzhiyun$ dd if=output/images/sdcard.img of=/dev/XXX
45*4882a593Smuzhiyun
46*4882a593Smuzhiyun
47*4882a593SmuzhiyunRunning Qt5 hellowindow opengl demo:
48*4882a593Smuzhiyun===================
49*4882a593Smuzhiyun# export QT_QPA_EGLFS_KMS_CONFIG=/etc/qt5/eglfs_kms_cfg.json
50*4882a593Smuzhiyun# export QT_QPA_PLATFORM=eglfs
51*4882a593Smuzhiyun# export QT_QPA_EGLFS_INTEGRATION=none
52*4882a593Smuzhiyun# /usr/lib/qt/examples/opengl/hellowindow/hellowindow
53*4882a593Smuzhiyun
54*4882a593Smuzhiyun
55*4882a593SmuzhiyunTested hardware
56*4882a593Smuzhiyun===============
57*4882a593Smuzhiyunam335x-evm (rev. 1.1A)
58*4882a593Smuzhiyunbeagleboneblack (rev. A5A)
59*4882a593Smuzhiyunbeaglebone (rev. A6)
60*4882a593Smuzhiyun
61*4882a593Smuzhiyun2020, Adam Duskett <aduskett@gmail.com>
62*4882a593Smuzhiyun2016, Lothar Felten <lothar.felten@gmail.com>
63