diff options
author | John Crispin <blogic@openwrt.org> | 2016-05-02 18:50:23 +0000 |
---|---|---|
committer | Luka Perkov <luka@openwrt.org> | 2016-06-19 19:18:29 +0200 |
commit | b55c724fd64f72d896d5faa5a6dccf502928bdd6 (patch) | |
tree | b872591d4387ab0e97b6b0db315960c00ec20b1a /target/linux/mvebu | |
parent | 2b17907b3e51572432e908cfad7ba9631cf448c4 (diff) | |
download | master-187ad058-b55c724fd64f72d896d5faa5a6dccf502928bdd6.tar.gz master-187ad058-b55c724fd64f72d896d5faa5a6dccf502928bdd6.tar.bz2 master-187ad058-b55c724fd64f72d896d5faa5a6dccf502928bdd6.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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49281 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/mvebu')
0 files changed, 0 insertions, 0 deletions