![]() ![]() ![]() * 1GB MAX OF PHYSICAL MEMORY AVAILABLE ON ALL MODELS. * Specific for Raspberry Pi all models - Memory Layout (Not to scale) On the linked repository the upper address has actually been hard coded for a Pi3Ĭode: Select all /*= The proper solution is to use the Pi mailbox system on channel 8 and get the VC and ARM memory from them. There is a label called _end in the linker file which is aligned and use that instead and it will stabilize to be usable.Ģ.) The whole memory sizing by atags isn't working and so the heap etc can get crunched on different models. If you look at the BSS clearing code and Stack Pointer set you will see the problem and then look at the context stacksetup code. The problem is in start.S with the fact the Stack Pointer must be align 8. Basically anytime you change the size of the BSS you can have dramas. Write some more and it comes back to working. ![]() so if you want to dash ahead and use it I will give you the two big gotchas that will drive you crazy.ġ.) This one will drive you nuts everytime you change code slightly and recompile and the code will crash. My warning is the linked repository code isn't stable. I am just finishing the port to ARCH64 which has meant going thru and putting uint32_t in critical positions and packing some structures which is time consuming. Someone hasn't been watching the discussion on the other thread with one of the publishers ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |