This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gpio readall | |
gpio mode 27 out | |
gpio mode 28 out | |
gpio mode 29 out | |
gpio write 27 1 | |
gpio write 28 1 | |
gpio write 29 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WARNING: Host distribution "debian-9" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution. | |
Parsing recipes: 100% |##########################################| Time: 0:00:23 | |
Parsing of 2487 .bb files complete (0 cached, 2487 parsed). 3295 targets, 515 skipped, 0 masked, 0 errors. | |
WARNING: No bb files matched BBFILE_PATTERN_agl-distro '^/home2/leon/agl-test/meta-agl/meta-agl-distro/' | |
NOTE: Resolving any missing task queue dependencies | |
Build Configuration: | |
BB_VERSION = "1.34.0" | |
BUILD_SYS = "x86_64-linux" | |
NATIVELSBSTRING = "debian-9" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bitbake error while building Yocto/OE recipe u-boot 2017.09 for machine qemux86-64: | |
| unable to execute 'x86_64-linux-gnu-gcc': No such file or directory | |
| error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 | |
Solution: | |
Add the following line to conf/local.conf: | |
HOSTTOOLS += "x86_64-linux-gnu-gcc" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
leon@leon-desktop-G1:/media/storage/agl-rcar3/build$ bitbake agl-demo-platform-html5 | |
NOTE: Your conf/bblayers.conf has been automatically updated. | |
WARNING: /media/storage/agl-rcar3/meta-openembedded/meta-networking/recipes-daemons/vsftpd/vsftpd_3.0.3.bb: vsftpd: Changing groupname ftp's gid from (962) to (963), verify configuration files! | |
WARNING: /media/storage/agl-rcar3/meta-openembedded/meta-networking/recipes-daemons/proftpd/proftpd_1.3.5b.bb: proftpd: Changing groupname ftp's gid from (962) to (963), verify configuration files! | |
Parsing recipes: 100% |#######################################################################################| Time: 0:00:50 | |
Parsing of 2219 .bb files complete (0 cached, 2219 parsed). 2942 targets, 367 skipped, 7 masked, 0 errors. | |
WARNING: No bb files matched BBFILE_PATTERN_agl-distro '^/media/storage/agl-rcar3/meta-agl/meta-agl-distro/' | |
NOTE: Resolving any missing task queue dependencies | |
ERROR: Nothing RPROVIDES 'low-level-can-service' (but /media/storage/agl-rcar3/meta-agl-dem |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10.107115] [<80618ed0>] (__schedule) from [<80619220>] (schedule+0x50/0xa8) | |
[ 10.114277] [<80619220>] (schedule) from [<80027e38>] (do_exit+0x740/0xac4) | |
[ 10.121352] [<80027e38>] (do_exit) from [<80014270>] (die+0x264/0x434) | |
[ 10.127987] [<80014270>] (die) from [<80021218>] (__do_kernel_fault.part.0+0x74/0x1f4) | |
[ 10.136034] [<80021218>] (__do_kernel_fault.part.0) from [<8061de70>] (do_page_fault+0x23c/0x3b8) | |
[ 10.145048] [<8061de70>] (do_page_fault) from [<8061e0a8>] (do_translation_fault+0xbc/0xc0) | |
[ 10.153533] [<8061e0a8>] (do_translation_fault) from [<80009208>] (do_DataAbort+0x4c/0xc8) | |
[ 10.161928] [<80009208>] (do_DataAbort) from [<8061d59c>] (__dabt_svc+0x3c/0x60) | |
[ 10.169431] Exception stack(0x95ae7c68 to 0x95ae7cb0) | |
[ 10.174558] 7c60: 9617e610 9617fc10 93c43400 93c43400 00000000 95059ac0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Scan raw codes | |
sudo systemctl stop lirc | |
mode2 -m -d /dev/lirc0 | |
# Create LIRC config file and load it | |
sudo cp ~/lircd-ac.conf /etc/lirc/lircd.conf | |
sudo systemctl start lirc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. run: | |
sudo minicom -s | |
2. Go to "Serial port setup" and set: | |
Serial Device: /dev/ttyUSB0 | |
Bps/Par/Bits : 57600 8N1 | |
Hardware Flow Control : No | |
Software Flow Control : No | |
3. Select Exit to exit configurations and to enter minicom | |
4. Press Ctrl+A Z | |
5. Press E to enable local Echo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Download the wallpaper: | |
mkdir -p /usr/share/backgrounds/ | |
wget -P /usr/share/backgrounds/ http://anavi.org/images/wallpapers/ats.jpg | |
* Edit /etc/xdg/weston/weston.ini | |
[shell] | |
locking=true | |
# Uncomment below to hide panel |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[core] | |
backend=drm-backend.so | |
shell=desktop-shell.so | |
[shell] | |
locking=true | |
# Uncomment below to hide panel | |
#panel-location=none |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mk/main.mk | |
# Don't trust stage0, be explicit about libraries | |
# TODO: rather than specifying sysroot, we really want to tell which libdir to | |
# use (ie: the dir containing 'rustlib'). This would allow us to avoid | |
# passing the '-L' options. | |
ifeq ($(1),0) | |
#RUSTFLAGS_S_$(1)_T_$(2)_H_$(3) += --sysroot "$$(HROOT$(1)_H_$(3))" \ | |
# -L "$$(TLIB$(1)_T_$(2)_H_$(3))" | |
endif |