1 # $NetBSD: Makefile,v 1.1 2020/02/12 06:57:35 thorpej Exp $ 2 3 S= ${.CURDIR}/../../../../.. 4 5 # 6 # This image is for the stock RedBoot configuration. The self-extracting 7 # kernel image is copied from FIS partition 3 (@ 0x50060000) to 0x01d00000 8 # by RedBoot. RedBoot then copies the ramdisk from FIS partition 4 9 # (@ 0x50160000) to 0x01000000, and jumps to 0x01d00000. 10 # 11 # NOTE: While there is room for 3MB of gzboot+compressed kernel at the 12 # designationed location in SDRAM, there is only 1MB of space available 13 # in FIS partition 3! 14 # 15 16 PLATFORM= NSLU2 17 RELOC= 0x01d00000 18 MAXIMAGESIZE= 0 # concatenate 19 LOADADDR= 0x00200000 20 21 CPPFLAGS+= -DCONSPEED=115200 22 CPPFLAGS+= -DCONADDR=0xc8000000UL 23 24 CPUFLAGS= -mcpu=xscale 25 26 LDSCRIPT= ${.CURDIR}/ldscript 27 28 SRCS+= nslu2.c ns16550.c ixp425_mem.c 29 30 .include "${S}/arch/evbarm/stand/gzboot/Makefile.gzboot" 31