diff options
| author | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2016-08-29 12:38:14 +0000 |
|---|---|---|
| committer | Gerrit Code Review <gerrit@172.30.200.200> | 2016-08-29 12:38:14 +0000 |
| commit | 081b8be83fd8dd718ea8feb7e3cd6baea271032b (patch) | |
| tree | d544ea076cfd899627f92c7734a561fd32f25d0f /recipes-bsp/u-boot/u-boot-ota/0001-Set-up-environment-for-OSTree-integration.patch | |
| parent | 77e5f299dcc82c237dae3e95fa35bc7c45054e96 (diff) | |
| parent | 2174e75e81397e9c9a99272888a6cc55c494d2f1 (diff) | |
| download | meta-updater-081b8be83fd8dd718ea8feb7e3cd6baea271032b.tar.gz | |
Merge "Replaced functionality in qemux86-ota machine with algsetup.sh feature. otaimg is now a live image."
Diffstat (limited to 'recipes-bsp/u-boot/u-boot-ota/0001-Set-up-environment-for-OSTree-integration.patch')
| -rw-r--r-- | recipes-bsp/u-boot/u-boot-ota/0001-Set-up-environment-for-OSTree-integration.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/recipes-bsp/u-boot/u-boot-ota/0001-Set-up-environment-for-OSTree-integration.patch b/recipes-bsp/u-boot/u-boot-ota/0001-Set-up-environment-for-OSTree-integration.patch new file mode 100644 index 0000000..c33d40c --- /dev/null +++ b/recipes-bsp/u-boot/u-boot-ota/0001-Set-up-environment-for-OSTree-integration.patch | |||
| @@ -0,0 +1,36 @@ | |||
| 1 | From 2b4d519bef51d9bfb646588aa5198f71022a867b Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Anton Gerasimov <anton@advancedtelematic.com> | ||
| 3 | Date: Mon, 15 Aug 2016 15:54:20 +0200 | ||
| 4 | Subject: [PATCH] Set up environment for OSTree integration | ||
| 5 | |||
| 6 | --- | ||
| 7 | include/configs/qemu-x86.h | 15 +++++++++++++++ | ||
| 8 | 1 file changed, 15 insertions(+) | ||
| 9 | |||
| 10 | diff --git a/include/configs/qemu-x86.h b/include/configs/qemu-x86.h | ||
| 11 | index 476d37d..f49e2a5 100644 | ||
| 12 | --- a/include/configs/qemu-x86.h | ||
| 13 | +++ b/include/configs/qemu-x86.h | ||
| 14 | @@ -56,4 +56,19 @@ | ||
| 15 | #undef CONFIG_ENV_IS_IN_SPI_FLASH | ||
| 16 | #define CONFIG_ENV_IS_NOWHERE | ||
| 17 | |||
| 18 | +#undef CONFIG_BOOTARGS | ||
| 19 | +#define CONFIG_BOOTARGS "root=/dev/hda2 console=ttyS0" | ||
| 20 | + | ||
| 21 | +#undef CONFIG_BOOTCOMMAND | ||
| 22 | +#define CONFIG_BOOTCOMMAND "run loadenv;" \ | ||
| 23 | + "ext2load ide 0:1 $loadaddr $kernel_image;" \ | ||
| 24 | + "ext2load ide 0:1 $ramdiskaddr $ramdisk_image;" \ | ||
| 25 | + "zboot $loadaddr - $ramdiskaddr $filesize" | ||
| 26 | + | ||
| 27 | +#undef CONFIG_EXTRA_ENV_SETTINGS | ||
| 28 | +#define CONFIG_EXTRA_ENV_SETTINGS "kernel_image=/bzImage\0" \ | ||
| 29 | + "ramdisk_image=/initrd\0" \ | ||
| 30 | + "ramdiskaddr=0x4000000\0" \ | ||
| 31 | + "loadenv=if ext2ls ide 0:1 /loader.0/uEnv.txt; then ext2load ide 0:1 $loadaddr uEnv.txt; env import -t $loadaddr $filesize; fi;" | ||
| 32 | + | ||
| 33 | #endif /* __CONFIG_H */ | ||
| 34 | -- | ||
| 35 | 2.8.3 | ||
| 36 | |||
