require at91bootstrap_3.5.inc PR = "r1" 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 \ file://at91sam9x5_4bit_pmecc_header.bin " SRC_URI_append_mtocgd3 = " file://at91bootstrap-3.5.3-mtocgd.patch " SRC_URI_append_mtocgd = " file://at91bootstrap-3.5.3-mtocgd.patch " 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_mtocgd() { do_pad_4bit_pmecc } do_install_append_mtocgd3() { do_pad_4bit_pmecc }