summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes-recipe/kernel-fitimage.bbclass20
-rw-r--r--meta/lib/oeqa/selftest/cases/fitimage.py4
2 files changed, 12 insertions, 12 deletions
diff --git a/meta/classes-recipe/kernel-fitimage.bbclass b/meta/classes-recipe/kernel-fitimage.bbclass
index f5f02f30f0..8e66f32676 100644
--- a/meta/classes-recipe/kernel-fitimage.bbclass
+++ b/meta/classes-recipe/kernel-fitimage.bbclass
@@ -128,11 +128,11 @@ fitimage_emit_section_kernel() {
128 cat << EOF >> $1 128 cat << EOF >> $1
129 kernel-$2 { 129 kernel-$2 {
130 description = "Linux kernel"; 130 description = "Linux kernel";
131 data = /incbin/("$3");
132 type = "${UBOOT_MKIMAGE_KERNEL_TYPE}"; 131 type = "${UBOOT_MKIMAGE_KERNEL_TYPE}";
132 compression = "$4";
133 data = /incbin/("$3");
133 arch = "${UBOOT_ARCH}"; 134 arch = "${UBOOT_ARCH}";
134 os = "linux"; 135 os = "linux";
135 compression = "$4";
136 load = <${UBOOT_LOADADDRESS}>; 136 load = <${UBOOT_LOADADDRESS}>;
137 entry = <$ENTRYPOINT>; 137 entry = <$ENTRYPOINT>;
138 hash-1 { 138 hash-1 {
@@ -177,10 +177,10 @@ fitimage_emit_section_dtb() {
177 cat << EOF >> $1 177 cat << EOF >> $1
178 fdt-$2 { 178 fdt-$2 {
179 description = "Flattened Device Tree blob"; 179 description = "Flattened Device Tree blob";
180 data = /incbin/("$3");
181 type = "flat_dt"; 180 type = "flat_dt";
182 arch = "${UBOOT_ARCH}";
183 compression = "none"; 181 compression = "none";
182 data = /incbin/("$3");
183 arch = "${UBOOT_ARCH}";
184 $dtb_loadline 184 $dtb_loadline
185 hash-1 { 185 hash-1 {
186 algo = "$dtb_csum"; 186 algo = "$dtb_csum";
@@ -215,10 +215,10 @@ fitimage_emit_section_boot_script() {
215 cat << EOF >> $1 215 cat << EOF >> $1
216 bootscr-$2 { 216 bootscr-$2 {
217 description = "U-boot script"; 217 description = "U-boot script";
218 data = /incbin/("$3");
219 type = "script"; 218 type = "script";
220 arch = "${UBOOT_ARCH}";
221 compression = "none"; 219 compression = "none";
220 data = /incbin/("$3");
221 arch = "${UBOOT_ARCH}";
222 hash-1 { 222 hash-1 {
223 algo = "$bootscr_csum"; 223 algo = "$bootscr_csum";
224 }; 224 };
@@ -252,11 +252,11 @@ fitimage_emit_section_setup() {
252 cat << EOF >> $1 252 cat << EOF >> $1
253 setup-$2 { 253 setup-$2 {
254 description = "Linux setup.bin"; 254 description = "Linux setup.bin";
255 data = /incbin/("$3");
256 type = "x86_setup"; 255 type = "x86_setup";
256 compression = "none";
257 data = /incbin/("$3");
257 arch = "${UBOOT_ARCH}"; 258 arch = "${UBOOT_ARCH}";
258 os = "linux"; 259 os = "linux";
259 compression = "none";
260 load = <0x00090000>; 260 load = <0x00090000>;
261 entry = <0x00090000>; 261 entry = <0x00090000>;
262 hash-1 { 262 hash-1 {
@@ -301,11 +301,11 @@ fitimage_emit_section_ramdisk() {
301 cat << EOF >> $1 301 cat << EOF >> $1
302 ramdisk-$2 { 302 ramdisk-$2 {
303 description = "${INITRAMFS_IMAGE}"; 303 description = "${INITRAMFS_IMAGE}";
304 data = /incbin/("$3");
305 type = "ramdisk"; 304 type = "ramdisk";
305 compression = "none";
306 data = /incbin/("$3");
306 arch = "${UBOOT_ARCH}"; 307 arch = "${UBOOT_ARCH}";
307 os = "linux"; 308 os = "linux";
308 compression = "none";
309 $ramdisk_loadline 309 $ramdisk_loadline
310 $ramdisk_entryline 310 $ramdisk_entryline
311 hash-1 { 311 hash-1 {
diff --git a/meta/lib/oeqa/selftest/cases/fitimage.py b/meta/lib/oeqa/selftest/cases/fitimage.py
index fcba28b7b7..9c353b6ed1 100644
--- a/meta/lib/oeqa/selftest/cases/fitimage.py
+++ b/meta/lib/oeqa/selftest/cases/fitimage.py
@@ -513,11 +513,11 @@ class KernelFitImageTests(FitImageTestCase):
513 its_field_check = [ 513 its_field_check = [
514 'description = "%s";' % bb_vars['FIT_DESC'], 514 'description = "%s";' % bb_vars['FIT_DESC'],
515 'description = "Linux kernel";', 515 'description = "Linux kernel";',
516 'data = /incbin/("linux.bin");',
517 'type = "' + str(bb_vars['UBOOT_MKIMAGE_KERNEL_TYPE']) + '";', 516 'type = "' + str(bb_vars['UBOOT_MKIMAGE_KERNEL_TYPE']) + '";',
517 # 'compression = "' + str(bb_vars['FIT_KERNEL_COMP_ALG']) + '";', defined based on files in TMPDIR, not ideal...
518 'data = /incbin/("linux.bin");',
518 'arch = "' + str(bb_vars['UBOOT_ARCH']) + '";', 519 'arch = "' + str(bb_vars['UBOOT_ARCH']) + '";',
519 'os = "linux";', 520 'os = "linux";',
520 # 'compression = "' + str(bb_vars['FIT_KERNEL_COMP_ALG']) + '";', defined based on files in TMPDIR, not ideal...
521 'load = <' + str(bb_vars['UBOOT_LOADADDRESS']) + '>;', 521 'load = <' + str(bb_vars['UBOOT_LOADADDRESS']) + '>;',
522 'entry = <' + str(bb_vars['UBOOT_ENTRYPOINT']) + '>;', 522 'entry = <' + str(bb_vars['UBOOT_ENTRYPOINT']) + '>;',
523 ] 523 ]