aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mpc85xx/image/spi-loader/config/tplink_tl-wdr4900-v1.mk
blob: ca8793f2be34430ab8169acbd4d5ff0b90ce089e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
TEXT_START   := 0x800000

# It seems that the TP-Link TL-WDR4900 U-Boot does not flush the cache before
# jumping into the uImage. Padding the image to 32k seems make the boot work
# reliably.
#
# We leave 0x40 for the uImage header, which allows us to append the kernel
# uImage after the loader and read with an added offset 0x8000 from the
# SPI flash.
PAD_TO       := 0x807fc0

# Kernel begins at 0x60200 in flash, loader adds 0x8000
IMAGE_OFFSET := 0x68200