Switch internal registers address to 0xF1 on Armada 370/XP
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 9 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 9 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/9] Switch internal registers address to 0xF1 on Armada 370/XP
Quoted 3 lines · Thomas Petazzoni
Yes, they could upgrade. But as of today, such upgrades do not even exist for the Mirabox and OpenBlocks AX3 boards. So what do we tell to those users?
I was assuming these boot loaders do already exist if they're shipping on some devices, but maybe not all yet.
Quoted 4 lines
Of course, one option is simply to have a kconfig option "I am booting from an old bootloader", but with the CP15 trick, we've tried to make this automatic so that users don't have to understand the kind of gory details we are discussing right now.
Same as for ATAGS right now which are not necessarily the most obvious setting for end users. Better keep the trick on by default if it's safe enough. In fact I'm mostly concerned about the risk that it later breaks for even newer boot loaders. But then we'll have more feedback to decide.
Quoted 8 lines
Quoted 7 lines
Quoted 3 lines
As far as I know, a DT-capable bootloader doesn't pass any ATAG. The ARM register that was used to pass the pointer to the ATAGS is now used to pass the pointer to the DTB in memory.
OK so one possibility could be to rely on this as well if we're certain there is a 1:1 relation between DT support and new mapping. But at least you have working code now with CP15, so let's not complexify the situation !
Quoted 5 lines
There is absolutely no 1:1 relation between DT support and new mapping.
As I've just written in a reply to Jason Cooper, I'm currently using a new bootloader (which uses the new mapping at
0xf1), but I'm booting the kernel old style (appended DTB).
OK, that was what I was wondering about. Sorry for having bothere you with my questions but at least not it's much clearer that CP15 probably is the only viable solution.
Best regards,
Willy