Last active
November 15, 2021 19:57
-
-
Save pblxptr/23b28b00d2c21f1abfe250abb7d5390c to your computer and use it in GitHub Desktop.
Revisions
-
pblxptr revised this gist
Nov 15, 2021 . 1 changed file with 3 additions and 10 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -141,16 +141,9 @@ sudo bmaptool copy --nobmap hhctrl-image-dev-hhctrl.wic.bz2 /dev/mmcblk0 [How To use PWM in Linux through sysfs](https://developer.toradex.com/knowledge-base/pwm-linux#How_to_use_PWM_in_Linux_through_sysfs) ### DS18B20 temperature sensor one wire ### * https://jumpnowtek.com/rpi/Using-DS18B20-1-wire-Temp-Sensors-with-the-Raspberry-Pi.html * ### WIFI STRATEGY FOR RPI ### * https://www.yoctoproject.org/pipermail/yocto/2018-June/041372.html -
pblxptr revised this gist
Nov 8, 2021 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -4,6 +4,7 @@ Raspberry Pi Zero W * [Doc](https://docs.yoctoproject.org/) * https://jumpnowtek.com/rpi/Raspberry-Pi-Systems-with-Yocto.html * https://www.youtube.com/watch?v=MjJw3c_5VC0 * https://jumpnowtek.com/rpi/Using-DS18B20-1-wire-Temp-Sensors-with-the-Raspberry-Pi.html ## YOCTO ### Resources -
pblxptr revised this gist
Oct 19, 2021 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -158,4 +158,7 @@ sudo bmaptool copy --nobmap hhctrl-image-dev-hhctrl.wic.bz2 /dev/mmcblk0 * https://raspberrypi.stackexchange.com/questions/48351/configure-wlan-for-raspberrypi3-using-image-created-with-yocto ### Partitions ### * https://pretalx.com/media/yocto-project-summit-2020/submissions/GVU8HS/resources/Norbert_Kaminski_Wic_plugin_devel_0Lszv3V.pdf * https://docs.yoctoproject.org/ref-manual/kickstart.html * ### OTA ### * https://afterhourscoding.wordpress.com/2020/07/26/integrating-swupdate-with-u-boot/ * -
pblxptr revised this gist
Oct 19, 2021 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -151,10 +151,11 @@ sudo bmaptool copy --nobmap hhctrl-image-dev-hhctrl.wic.bz2 /dev/mmcblk0 * bitbake-layers add-layer ../sources/meta-raspberrypi (you have to be in build directory) * echo 'MACHINE = "raspberrypi0-wifi"' >> conf/local.conf ### WIFI STRATEGY FOR RPI ### * https://www.yoctoproject.org/pipermail/yocto/2018-June/041372.html * https://github.com/drewmoseley/meta-wifi-credentials/blob/master/sysvinit/recipes-connectivity/wpa-supplicant/wpa-supplicant_%25.bbappend - multiple ways to enable wlan configuration * https://raspberrypi.stackexchange.com/questions/48351/configure-wlan-for-raspberrypi3-using-image-created-with-yocto - adding broadcom drivers to kernel * https://raspberrypi.stackexchange.com/questions/48351/configure-wlan-for-raspberrypi3-using-image-created-with-yocto ### Partitions ### * https://pretalx.com/media/yocto-project-summit-2020/submissions/GVU8HS/resources/Norbert_Kaminski_Wic_plugin_devel_0Lszv3V.pdf * -
pblxptr revised this gist
Oct 15, 2021 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -23,6 +23,7 @@ Raspberry Pi Zero W ### USEFUL COMMANDS * ***-g*** - create dependency graph e.g. bibake -g foo [example](https://docs.yoctoproject.org/bitbake/bitbake-user-manual/bitbake-user-manual-intro.html#generating-dependency-graphs) * ***bitbake -c compile name*** - compile package ### ??? ### ***MACHINEL_EXTRA_RRECOMMENDS_append*** - do obrazu (NIE DLA obrazów typu core-image) dodane zostaną zdefiniowane paczki (np. sterownik wifi) CHYBA, że taki steronik znajduje się już w kernelu. Wtedy nie zostanie dodany, ale build się nie wywali. -
pblxptr revised this gist
Jun 22, 2021 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -105,6 +105,8 @@ bzip2 -d -f core-image-minimal-raspberrypi0-wifi-20210228190520.rootfs.wic.bz2 ### COPY IMAGE TO SDCARD ### sudo dd if=core-image-minimal-raspberrypi0-wifi-20210228190520.rootfs.wic of=/dev/mmcblk0 bs=1M status=progress sudo bmaptool copy --nobmap hhctrl-image-dev-hhctrl.wic.bz2 /dev/mmcblk0 ### BUILDING KERNEL MODULE OUT OF YOCTO ### * add following line to conf (local.conf / machine.conf etc) TOOLCHAIN_TARGET_TASK_append = " kernel-devsrc" * compile sdk -> - bitbake core-image-minimal -c populate_sdk -
pblxptr revised this gist
May 31, 2021 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -131,10 +131,12 @@ sudo dd if=core-image-minimal-raspberrypi0-wifi-20210228190520.rootfs.wic of=/de [Yocto Hw PWM](https://www.yoctoproject.org/pipermail/yocto/2015-July/025875.html) [VERY!!! useful guide](https://www.jumpnowtek.com/rpi/Using-the-Raspberry-Pi-Hardware-PWM-timers.html) [DTS overlay](https://github.com/raspberrypi/linux/tree/rpi-5.10.y/arch/arm/boot/dts/overlays) [How To use PWM in Linux through sysfs](https://developer.toradex.com/knowledge-base/pwm-linux#How_to_use_PWM_in_Linux_through_sysfs) #### RASPBERRYPI ZERO W * mkdir project && cd project * mkdir sources && cd sources -
pblxptr revised this gist
May 31, 2021 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -128,8 +128,11 @@ sudo dd if=core-image-minimal-raspberrypi0-wifi-20210228190520.rootfs.wic of=/de * optionally add dtoverlay=pwm to RPI_EXTRA_CONFIG [Hw PWM example](https://www.ofitselfso.com/RPICSIO/Help/RPICSIOHelp_PWMPortExample.html) [Yocto Hw PWM](https://www.yoctoproject.org/pipermail/yocto/2015-July/025875.html) [Very useful guide](https://www.jumpnowtek.com/rpi/Using-the-Raspberry-Pi-Hardware-PWM-timers.html) [DTS overlay](https://github.com/raspberrypi/linux/tree/rpi-5.10.y/arch/arm/boot/dts/overlays) #### RASPBERRYPI ZERO W -
pblxptr revised this gist
May 31, 2021 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -128,8 +128,9 @@ sudo dd if=core-image-minimal-raspberrypi0-wifi-20210228190520.rootfs.wic of=/de * optionally add dtoverlay=pwm to RPI_EXTRA_CONFIG [Hw PWM example](https://www.ofitselfso.com/RPICSIO/Help/RPICSIOHelp_PWMPortExample.html) [Yocto Hw PWM](https://www.yoctoproject.org/pipermail/yocto/2015-July/025875.html) [Very useful guide](https://www.jumpnowtek.com/rpi/Using-the-Raspberry-Pi-Hardware-PWM-timers.html) [DTS overlay](https://github.com/raspberrypi/linux/tree/rpi-5.10.y/arch/arm/boot/dts/overlays) #### RASPBERRYPI ZERO W * mkdir project && cd project -
pblxptr revised this gist
May 31, 2021 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -123,7 +123,8 @@ sudo dd if=core-image-minimal-raspberrypi0-wifi-20210228190520.rootfs.wic of=/de ### RPI PWM ### * add to machine conf -> KERNEL_DEVICETREE_append += " overlays/pwm.dtbo" * add to boot/config.txt -> dtoverlay=pwm (or dtoverlay=pwm,pin=12,func=4 if you want to remap pin to GPIO12, default GPIO18) * optionally this one supports 2chan pwm -> pwm-2chan-overlay.dts * optionally add dtoverlay=pwm to RPI_EXTRA_CONFIG [Hw PWM example](https://www.ofitselfso.com/RPICSIO/Help/RPICSIOHelp_PWMPortExample.html) -
pblxptr revised this gist
May 31, 2021 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -121,7 +121,7 @@ sudo dd if=core-image-minimal-raspberrypi0-wifi-20210228190520.rootfs.wic of=/de [Example2](https://lists.yoctoproject.org/g/meta-freescale/topic/69260385) ### RPI PWM ### * add to machine conf -> KERNEL_DEVICETREE_append += " overlays/pwm.dtbo" * add to boot/config.txt -> dtoverlay=pwm * optionally add dtoverlay=pwm to RPI_EXTRA_CONFIG -
pblxptr revised this gist
May 31, 2021 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -118,6 +118,7 @@ sudo dd if=core-image-minimal-raspberrypi0-wifi-20210228190520.rootfs.wic of=/de * compile module -> KERNEL_SRC=/opt/sheli-dev/1.0.0/sysroots/arm1176jzfshf-vfp-poky-linux-gnueabi/usr/src/kernel make [Out of tree modules](https://docs.legato.io/17_07/yoctoOutofTreeKernelModule.html) [Example2](https://lists.yoctoproject.org/g/meta-freescale/topic/69260385) #### RPI PWM #### @@ -126,6 +127,7 @@ sudo dd if=core-image-minimal-raspberrypi0-wifi-20210228190520.rootfs.wic of=/de * optionally add dtoverlay=pwm to RPI_EXTRA_CONFIG [Hw PWM example](https://www.ofitselfso.com/RPICSIO/Help/RPICSIOHelp_PWMPortExample.html) [Yocto Hw PWM](https://www.yoctoproject.org/pipermail/yocto/2015-July/025875.html) #### RASPBERRYPI ZERO W -
pblxptr revised this gist
May 31, 2021 . 1 changed file with 8 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -120,6 +120,14 @@ sudo dd if=core-image-minimal-raspberrypi0-wifi-20210228190520.rootfs.wic of=/de [Out of tree modules](https://docs.legato.io/17_07/yoctoOutofTreeKernelModule.html) [Example2](https://lists.yoctoproject.org/g/meta-freescale/topic/69260385) #### RPI PWM #### * add to machine conf -> KERNEL_DEVICETREE_append += " overlays/pwm.dtbo" * add to boot/config.txt -> dtoverlay=pwm * optionally add dtoverlay=pwm to RPI_EXTRA_CONFIG [Hw PWM example](https://www.ofitselfso.com/RPICSIO/Help/RPICSIOHelp_PWMPortExample.html) [Yocto Hw PWM](https://www.yoctoproject.org/pipermail/yocto/2015-July/025875.html) #### RASPBERRYPI ZERO W * mkdir project && cd project * mkdir sources && cd sources -
pblxptr revised this gist
May 31, 2021 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -118,6 +118,7 @@ sudo dd if=core-image-minimal-raspberrypi0-wifi-20210228190520.rootfs.wic of=/de * compile module -> KERNEL_SRC=/opt/sheli-dev/1.0.0/sysroots/arm1176jzfshf-vfp-poky-linux-gnueabi/usr/src/kernel make [Out of tree modules](https://docs.legato.io/17_07/yoctoOutofTreeKernelModule.html) [Example2](https://lists.yoctoproject.org/g/meta-freescale/topic/69260385) #### RASPBERRYPI ZERO W * mkdir project && cd project -
pblxptr revised this gist
May 30, 2021 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -117,7 +117,7 @@ sudo dd if=core-image-minimal-raspberrypi0-wifi-20210228190520.rootfs.wic of=/de * source sdk evn -> source /opt/sheli-dev/1.0.0/environment-setup-arm1176jzfshf-vfp-poky-linux-gnueabi * compile module -> KERNEL_SRC=/opt/sheli-dev/1.0.0/sysroots/arm1176jzfshf-vfp-poky-linux-gnueabi/usr/src/kernel make [Out of tree modules](https://docs.legato.io/17_07/yoctoOutofTreeKernelModule.html) #### RASPBERRYPI ZERO W * mkdir project && cd project -
pblxptr revised this gist
May 30, 2021 . 1 changed file with 10 additions and 4 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -107,11 +107,17 @@ sudo dd if=core-image-minimal-raspberrypi0-wifi-20210228190520.rootfs.wic of=/de ### BUILDING KERNEL MODULE OUT OF YOCTO ### * add following line to conf (local.conf / machine.conf etc) TOOLCHAIN_TARGET_TASK_append = " kernel-devsrc" * compile sdk -> - bitbake core-image-minimal -c populate_sdk * install sdk -> (sudo) /home/pp/yocto-hh/build/tmp/deploy/sdk/sheli-dev-glibc-x86_64-core-image-minimal-arm1176jzfshf-vfp-hhctrl-toolchain-1.0.0.sh * add compiler to path -> export PATH=$PATH:/opt/sheli-dev/1.0.0/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi:$PATH * go to kernel dir -> cd /opt/sheli-dev/1.0.0/sysroots/arm1176jzfshf-vfp-poky-linux-gnueabi/usr/src/kernel * log as root -> su (root) * make scripts -> ARCH=arm CROSS_COMPILE=arm-poky-linux-gnueabi- make scripts * make prepare -> ARCH=arm CROSS_COMPILE=arm-poky-linux-gnueabi- make modules_prepare / prepare * source sdk evn -> source /opt/sheli-dev/1.0.0/environment-setup-arm1176jzfshf-vfp-poky-linux-gnueabi * compile module -> KERNEL_SRC=/opt/sheli-dev/1.0.0/sysroots/arm1176jzfshf-vfp-poky-linux-gnueabi/usr/src/kernel make #### RASPBERRYPI ZERO W * mkdir project && cd project -
pblxptr revised this gist
May 30, 2021 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -111,6 +111,8 @@ sudo dd if=core-image-minimal-raspberrypi0-wifi-20210228190520.rootfs.wic of=/de * install sdk * source e.g. /opt/sheli-dev/1.0.0/environment-setup-arm1176jzfshf-vfp-poky-linux-gnueabi [https://docs.legato.io/17_07/yoctoOutofTreeKernelModule.html](Out of tree module) #### RASPBERRYPI ZERO W * mkdir project && cd project * mkdir sources && cd sources -
pblxptr revised this gist
May 29, 2021 . 1 changed file with 5 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -105,7 +105,11 @@ bzip2 -d -f core-image-minimal-raspberrypi0-wifi-20210228190520.rootfs.wic.bz2 ### COPY IMAGE TO SDCARD ### sudo dd if=core-image-minimal-raspberrypi0-wifi-20210228190520.rootfs.wic of=/dev/mmcblk0 bs=1M status=progress ### BUILDING KERNEL MODULE OUT OF YOCTO ### * add following line to conf (local.conf / machine.conf etc) TOOLCHAIN_TARGET_TASK_append = " kernel-devsrc" * compile sdk - bitbake core-image-minimal -c populate_sdk * install sdk * source e.g. /opt/sheli-dev/1.0.0/environment-setup-arm1176jzfshf-vfp-poky-linux-gnueabi #### RASPBERRYPI ZERO W * mkdir project && cd project -
pblxptr revised this gist
May 27, 2021 . 1 changed file with 5 additions and 3 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -37,20 +37,22 @@ Raspberry Pi Zero W * [meander](https://hub.mender.io/t/how-to-create-custom-images-using-yocto-project/902) ***core-image-minimal*** (core-image-minimal.bb) nadpisuje IMAGE_INSTALL całkowicie! - ```IMAGE_INSTALL = "packagegroup-core-boot ${CORE_IMAGE_EXTRA_INSTALL}"``` ***core-image-base*** - zawiera dużo więcej paczek. To co znajduje się w core-image-base jest w (core-image.bbclass) ``` CORE_IMAGE_BASE_INSTALL = '\ packagegroup-core-boot \ -> packagegroup-core-boot.bb packagegroup-base-extended \ -> package-group-base.bb \ ${CORE_IMAGE_EXTRA_INSTALL} \ ' CORE_IMAGE_EXTRA_INSTALL ?= "" IMAGE_INSTALL ?= "${CORE_IMAGE_BASE_INSTALL}" ``` -
pblxptr revised this gist
May 27, 2021 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -42,6 +42,7 @@ Raspberry Pi Zero W ***core-image-base*** - zawiera dużo więcej paczek. To co znajduje się w core-image-base jest w (core-image.bbclass) CORE_IMAGE_BASE_INSTALL = '\ packagegroup-core-boot \ -> packagegroup-core-boot.bb packagegroup-base-extended \ -> package-group-base.bb \ ${CORE_IMAGE_EXTRA_INSTALL} \ -
pblxptr revised this gist
May 27, 2021 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -37,9 +37,9 @@ Raspberry Pi Zero W * [meander](https://hub.mender.io/t/how-to-create-custom-images-using-yocto-project/902) ***core-image-minimal*** (core-image-minimal.bb) nadpisuje IMAGE_INSTALL całkowicie! - IMAGE_INSTALL = "packagegroup-core-boot ${CORE_IMAGE_EXTRA_INSTALL}" ***core-image-base*** - zawiera dużo więcej paczek. To co znajduje się w core-image-base jest w (core-image.bbclass) CORE_IMAGE_BASE_INSTALL = '\ packagegroup-core-boot \ -> packagegroup-core-boot.bb packagegroup-base-extended \ -> package-group-base.bb -
pblxptr revised this gist
May 27, 2021 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -37,9 +37,9 @@ Raspberry Pi Zero W * [meander](https://hub.mender.io/t/how-to-create-custom-images-using-yocto-project/902) ### core-image-minimal ### (core-image-minimal.bb) nadpisuje IMAGE_INSTALL całkowicie! - IMAGE_INSTALL = "packagegroup-core-boot ${CORE_IMAGE_EXTRA_INSTALL}" ### core-image-base ### - zawiera dużo więcej paczek. To co znajduje się w core-image-base jest w (core-image.bbclass) CORE_IMAGE_BASE_INSTALL = '\ packagegroup-core-boot \ -> packagegroup-core-boot.bb packagegroup-base-extended \ -> package-group-base.bb -
pblxptr revised this gist
May 27, 2021 . 1 changed file with 18 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -33,9 +33,25 @@ Raspberry Pi Zero W ***CORE_IMAGE_EXTRA_INSTALL*** += "ethtool evtest fbset i2c-tools memtester" - do obrazu core image zostaną doadne jakieś pakiety, które nie są zdefiniowane jako ficzery, mogą to być np. pojedyncze paczki. * [stackoverflow](https://stackoverflow.com/questions/56880237/image-features-vs-image-install-in-yocto) * [meander](https://hub.mender.io/t/how-to-create-custom-images-using-yocto-project/902) core-image-minimal(core-image-minimal.bb) nadpisuje IMAGE_INSTALL całkowicie! - IMAGE_INSTALL = "packagegroup-core-boot ${CORE_IMAGE_EXTRA_INSTALL}" core-image-base - zawiera dużo więcej paczek. To co znajduje się w core-image-base jest w (core-image.bbclass) CORE_IMAGE_BASE_INSTALL = '\ packagegroup-core-boot \ -> packagegroup-core-boot.bb packagegroup-base-extended \ -> package-group-base.bb \ ${CORE_IMAGE_EXTRA_INSTALL} \ ' CORE_IMAGE_EXTRA_INSTALL ?= "" IMAGE_INSTALL ?= "${CORE_IMAGE_BASE_INSTALL}" ### BBAPPEND - ..bbappend pliki konfiguracyjne do budowania receptury. -
pblxptr revised this gist
May 27, 2021 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -32,7 +32,9 @@ Raspberry Pi Zero W ***IMAGE_FEATURES*** += "ssh-server-dropbear tools-debug debug-tweaks" - dodaje ficzery (zdefiniowane wcześniej), dla danego obrazu. Może być tak, że np. ficzer ssh-server-dropbear zawiera wiele paczek. ***CORE_IMAGE_EXTRA_INSTALL*** += "ethtool evtest fbset i2c-tools memtester" - do obrazu core image zostaną doadne jakieś pakiety, które nie są zdefiniowane jako ficzery, mogą to być np. pojedyncze paczki. [stackoverflow](https://stackoverflow.com/questions/56880237/image-features-vs-image-install-in-yocto) [meander](https://hub.mender.io/t/how-to-create-custom-images-using-yocto-project/902) -
pblxptr revised this gist
May 27, 2021 . 1 changed file with 7 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -25,10 +25,15 @@ Raspberry Pi Zero W * ***-g*** - create dependency graph e.g. bibake -g foo [example](https://docs.yoctoproject.org/bitbake/bitbake-user-manual/bitbake-user-manual-intro.html#generating-dependency-graphs) ### ??? ### ***MACHINEL_EXTRA_RRECOMMENDS_append*** - do obrazu (NIE DLA obrazów typu core-image) dodane zostaną zdefiniowane paczki (np. sterownik wifi) CHYBA, że taki steronik znajduje się już w kernelu. Wtedy nie zostanie dodany, ale build się nie wywali. ***MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS_append*** - do obrazu (nawet bazującego na core-image) dodane zostaną zdefiniowane paczki (np. sterownik wifi) CHYBA, że taki steronik znajduje się już w kernelu. Wtedy nie zostanie dodany, ale build się nie wywali. ***IMAGE_FEATURES*** += "ssh-server-dropbear tools-debug debug-tweaks" - dodaje ficzery (zdefiniowane wcześniej), dla danego obrazu. Może być tak, że np. ficzer ssh-server-dropbear zawiera wiele paczek. ***CORE_IMAGE_EXTRA_INSTALL*** += "ethtool evtest fbset i2c-tools memtester" - do obrazu core image zostaną doadne jakieś pakiety, które nie są zdefiniowane jako ficzery, mogą to być np. pojedyncze paczki. [stackoverflow](https://stackoverflow.com/questions/56880237/image-features-vs-image-install-in-yocto) [meander](https://hub.mender.io/t/how-to-create-custom-images-using-yocto-project/902) ### BBAPPEND - ..bbappend pliki konfiguracyjne do budowania receptury. -
pblxptr revised this gist
May 27, 2021 . No changes.There are no files selected for viewing
-
pblxptr revised this gist
May 27, 2021 . 1 changed file with 5 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -24,6 +24,11 @@ Raspberry Pi Zero W ### USEFUL COMMANDS * ***-g*** - create dependency graph e.g. bibake -g foo [example](https://docs.yoctoproject.org/bitbake/bitbake-user-manual/bitbake-user-manual-intro.html#generating-dependency-graphs) ### ??? ### MACHINEL_EXTRA_RRECOMMENDS_append - do obrazu (NIE DLA obrazów typu core-image) dodane zostaną zdefiniowane paczki (np. sterownik wifi) CHYBA, że taki steronik znajduje się już w kernelu. Wtedy nie zostanie dodany, ale build się nie wywali. MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS_append - do obrazu (nawet bazującego na core-image) dodane zostaną zdefiniowane paczki (np. sterownik wifi) CHYBA, że taki steronik znajduje się już w kernelu. Wtedy nie zostanie dodany, ale build się nie wywali. ### BBAPPEND - ..bbappend pliki konfiguracyjne do budowania receptury. -
pblxptr revised this gist
May 27, 2021 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -14,7 +14,7 @@ Raspberry Pi Zero W * https://layers.openembedded.org * http://git.yoctoproject.org/cgit/cgit.cgi/poky/- meta-poky reference layer, contains tools to build project * http://git.openembedded.org/meta-openembedded - meta-openembedded a layer that contains all useful tools across the embedded world. * https://www.yoctoproject.org/docs/2.7/ref-manual/ref-manual.html#ref-features - features shipped by YOCTO project ### ESSENTIAL COMMANDS ### -
pblxptr revised this gist
May 27, 2021 . 1 changed file with 5 additions and 4 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -14,6 +14,7 @@ Raspberry Pi Zero W * https://layers.openembedded.org * http://git.yoctoproject.org/cgit/cgit.cgi/poky/- meta-poky reference layer, contains tools to build project * http://git.openembedded.org/meta-openembedded - meta-openembedded a layer that contains all useful tools across the embedded world. * * https://www.yoctoproject.org/docs/2.7/ref-manual/ref-manual.html#ref-features - features supported by YOCTO project ### ESSENTIAL COMMANDS ### @@ -88,8 +89,8 @@ sudo dd if=core-image-minimal-raspberrypi0-wifi-20210228190520.rootfs.wic of=/de ### WIFI STRATEGY FOR RPI ### * https://www.yoctoproject.org/pipermail/yocto/2018-June/041372.html * https://github.com/drewmoseley/meta-wifi-credentials/blob/master/sysvinit/recipes-connectivity/wpa-supplicant/wpa-supplicant_%25.bbappend - multiple ways to enable wlan configuration * https://raspberrypi.stackexchange.com/questions/48351/configure-wlan-for-raspberrypi3-using-image-created-with-yocto - adding broadcom drivers to kernel * https://raspberrypi.stackexchange.com/questions/48351/configure-wlan-for-raspberrypi3-using-image-created-with-yocto -
pblxptr revised this gist
May 26, 2021 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -89,4 +89,7 @@ sudo dd if=core-image-minimal-raspberrypi0-wifi-20210228190520.rootfs.wic of=/de ### WIFI STRATEGY FOR RPI ### https://www.yoctoproject.org/pipermail/yocto/2018-June/041372.html https://github.com/drewmoseley/meta-wifi-credentials/blob/master/sysvinit/recipes-connectivity/wpa-supplicant/wpa-supplicant_%25.bbappend - multiple ways to enable wlan configuration https://raspberrypi.stackexchange.com/questions/48351/configure-wlan-for-raspberrypi3-using-image-created-with-yocto - adding broadcom drivers to kernel https://raspberrypi.stackexchange.com/questions/48351/configure-wlan-for-raspberrypi3-using-image-created-with-yocto
NewerOlder