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