summaryrefslogtreecommitdiffstats
path: root/scripts/arm-magic.sh
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2016-05-02 18:50:23 +0000
committerJo-Philipp Wich <jo@mein.io>2016-05-10 10:43:12 +0200
commitd7438ce3152e2e0dc1678dcb24ca050dbc2733c8 (patch)
tree6091b3b31220b974921594744dbcc3a4387a42d5 /scripts/arm-magic.sh
parentb7fc892eb56b52d25bc00578af9d1ee058dcf6b3 (diff)
downloadmaster-31e0f0ae-d7438ce3152e2e0dc1678dcb24ca050dbc2733c8.tar.gz
master-31e0f0ae-d7438ce3152e2e0dc1678dcb24ca050dbc2733c8.tar.bz2
master-31e0f0ae-d7438ce3152e2e0dc1678dcb24ca050dbc2733c8.zip
lantiq: handle the dual-firmware layout of brnboot
brnboot based devices can have two Image partitions. When flashing images via the brnboot recovery web interface, the Image partitions are written alternating. The current active Image partition is stored in the first byte of the Primary_Setting partition by using 0x00 for Code_Image_0 and 0x01 for Code_Image_1. By using the information about the active "Code Image", it is possible to ensure that the rootfs belongs to the current booted Image/Kernel. Signed-off-by: Mathias Kresin <openwrt@kresin.me> SVN-Revision: 49281
Diffstat (limited to 'scripts/arm-magic.sh')
0 files changed, 0 insertions, 0 deletions