summaryrefslogtreecommitdiffstats
path: root/package/python-pycrypto/python-pycrypto.mk
diff options
context:
space:
mode:
authorAlexey Brodkin <Alexey.Brodkin@synopsys.com>2016-07-01 23:01:57 +0300
committerPeter Korsgaard <peter@korsgaard.com>2016-07-02 13:19:12 +0200
commit0ce3963a62df423a939c6f8f9d1f961a71d5d74f (patch)
treee29f8b6c5b86a621731e597cd7a9333f2df4939c /package/python-pycrypto/python-pycrypto.mk
parentb4fc5a180c81689a982d5c595844331684c14f51 (diff)
downloadbuildroot-0ce3963a62df423a939c6f8f9d1f961a71d5d74f.tar.gz
buildroot-0ce3963a62df423a939c6f8f9d1f961a71d5d74f.zip
cubieboard2: Accommodate U-Boot environment on SD-card
According to current "include/configs/sunxi-common.h" U-Boot environment is stored on SD-card with offset 544 kB and its size is limited as 128 kB. Given memory layout of sunxi boards: 1. SPL 2. U-Boot 3. U-Boot environment 4. Partitions (see http://linux-sunxi.org/Bootable_SD_card#SD_Card_Layout for details) we need to make sure the first real partition starts at least with 544+128 kB offset. Adding a small safety gap let's put the first partition with offset 1MB from the beginning of SD-card. Otherwise current setup gets broken as soon as one saves U-Boot environment with "saveenv" which basically overwrites FAT partition with zImage and board no longer boots into Linux kernel. [Peter: extend description, add padding to u-boot partition instead] Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Erico Nunes <nunes.erico@gmail.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Peter Korsgaard <peter@korsgaard.com> Cc: Carlos Quijano <carlos@crqgestion.es> Cc: Andi Shyti <andi@etezian.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/python-pycrypto/python-pycrypto.mk')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud