mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 23:42:43 +00:00
9daf57d960
On lantiq a lot of stuff expects to be loaded to and executed at 0x80002000, including our own second stage bootloader. For all build u-boots, the initial stack pointer is at 0x80008000. After loading data to 0x80002000, every further stack operation corrupts the loaded code. Set the initial stack pointer to 0x80002000, to not overwrite code loaded in memory. A stack of 0x2000 bytes has been proven as enough in all done tests. Signed-off-by: Mathias Kresin <dev@kresin.me> |
||
---|---|---|
.. | ||
patches | ||
Makefile | ||
README |
# How to refresh patches $ git clone git@github.com:danielschwierzeck/u-boot-lantiq.git $ mkdir -p $OPENWRT_ROOT/packages/boot/uboot-lantiq/patches $ cd u-boot-lantiq.git $ git format-patch -p -k --no-renames --no-binary -o $OPENWRT_ROOT/package/boot/uboot-lantiq/patches v2013.10..u-boot-lantiq-v2013.10-openwrtN