diff options
Diffstat (limited to 'recipes-kernel')
| -rw-r--r-- | recipes-kernel/linux/linux-raspberrypi.inc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/recipes-kernel/linux/linux-raspberrypi.inc b/recipes-kernel/linux/linux-raspberrypi.inc index 5a8a175..4f59c97 100644 --- a/recipes-kernel/linux/linux-raspberrypi.inc +++ b/recipes-kernel/linux/linux-raspberrypi.inc | |||
| @@ -53,7 +53,11 @@ do_install_prepend() { | |||
| 53 | do_deploy_append() { | 53 | do_deploy_append() { |
| 54 | # Deploy cmdline.txt | 54 | # Deploy cmdline.txt |
| 55 | install -d ${DEPLOYDIR}/bcm2835-bootfiles | 55 | install -d ${DEPLOYDIR}/bcm2835-bootfiles |
| 56 | echo "${CMDLINE}" > ${DEPLOYDIR}/bcm2835-bootfiles/cmdline.txt | 56 | PITFT="${@bb.utils.contains("MACHINE_FEATURES", "pitft", "1", "0", d)}" |
| 57 | if [ ${PITFT} = "1" ]; then | ||
| 58 | PITFT_PARAMS="fbcon=map:10 fbcon=font:VGA8x8" | ||
| 59 | fi | ||
| 60 | echo "${CMDLINE}${PITFT_PARAMS}" > ${DEPLOYDIR}/bcm2835-bootfiles/cmdline.txt | ||
| 57 | } | 61 | } |
| 58 | 62 | ||
| 59 | do_rpiboot_mkimage() { | 63 | do_rpiboot_mkimage() { |
