mirror of
https://github.com/linux-sunxi/sunxi-tools.git
synced 2024-11-23 01:46:44 +08:00
boot_head, a little boot header to work around broken bootloaders
This commit is contained in:
parent
985cea0433
commit
ddead1555e
15
boot_head.S
15
boot_head.S
@ -17,6 +17,21 @@
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
||||
* MA 02111-1307 USA
|
||||
*
|
||||
*
|
||||
* This file is a workaround to broken bootloaders on Allwinner A1x
|
||||
* platform who do not provide correct machid or atags address
|
||||
*
|
||||
* Usage:
|
||||
* load the header at 0x40007000 and change the entry point of your
|
||||
* boot process to 0x40007000
|
||||
*
|
||||
* Detailed memory map:
|
||||
* 0x40000100 atags
|
||||
* 0x40007000 boot_head (entry point)
|
||||
* 0x40008000 kernel
|
||||
* 0x43000000 script.bin
|
||||
* If you have a ramdisk then load it at some higher address
|
||||
*/
|
||||
|
||||
_start:
|
||||
|
Loading…
Reference in New Issue
Block a user