diff options
Diffstat (limited to 'multitech/recipes/at91bootstrap/at91bootstrap_3.5.3.bb')
-rw-r--r-- | multitech/recipes/at91bootstrap/at91bootstrap_3.5.3.bb | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/multitech/recipes/at91bootstrap/at91bootstrap_3.5.3.bb b/multitech/recipes/at91bootstrap/at91bootstrap_3.5.3.bb new file mode 100644 index 0000000..7fa01bc --- /dev/null +++ b/multitech/recipes/at91bootstrap/at91bootstrap_3.5.3.bb @@ -0,0 +1,26 @@ +require at91bootstrap_3.5.inc + +PR = "r0" + +SRC_URI = "https://github.com/linux4sam/at91bootstrap/archive/v3.5.3.tar.gz \ + file://at91bootstrap-3.5.2-add-install.patch \ + file://at91bootstrap-3.5.2-onetime-slow-clock-switch.patch" + +SRC_URI_append_mtocgd3 = " file://at91bootstrap-3.5.3-mtocgd3.patch \ + file://at91sam9x5_4bit_pmecc_header.bin \ + " + +SRC_URI[md5sum] = "7379726f686f5b9c8f4a2012676b79fc" +SRC_URI[sha256sum] = "6c2289671f1c3cf317114b2e82955f98e860dda8c706d5c1e80c0bbebc6c5b12" + +# generate a bootstrap file padded with the header needed for 4-bit PMECC +# The padded file can be flashed via u-boot without any need to set the PMECC header using SAM-BA +do_pad_4bit_pmecc() { + cp -f ${WORKDIR}/at91sam9x5_4bit_pmecc_header.bin ${DEPLOY_DIR_IMAGE}/at91bootstrap_pmecc_padded.bin + cat ${DEPLOY_DIR_IMAGE}/at91bootstrap.bin >> ${DEPLOY_DIR_IMAGE}/at91bootstrap_pmecc_padded.bin +} + +do_install_append_mtocgd3() { + do_pad_4bit_pmecc +} + |