Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src



Module Name:    src
Committed By:   hkenken
Date:           Tue Dec  1 12:13:45 UTC 2026

Modified Files:
        src/distrib/evbarm/gzboot/gzimg: Makefile
        src/etc/etc.evbarm: Makefile.inc
        src/sys/arch/evbarm/stand/gzboot: Makefile Makefile.gzboot
Added Files:
        src/sys/arch/evbarm/stand/board: netwalker.c
        src/sys/arch/evbarm/stand/gzboot/NETWALKER_dram_0x90008000: Makefile
            ldscript

Log Message:
evbarm: add gzboot for NetWalker

When booting from SD, the NetWalker RedBoot does not stop the
watchdog power-down counter, so the board resets 16 seconds after
power-on.  RedBoot loads the kernel too slowly for the current
NETWALKER kernel (8.8MB).  Boot it through gzboot instead: the image
is about 4MB, and gzboot stops the counter first.

Build gzboot with the default EABI, -mfloat-abi=soft and
-mno-unaligned-access instead of ARM_APCS_FLAGS.  On ARMv7 the
compiler_rt division routines are Thumb-2 and cannot be called from
non-interworking APCS code.  The FPU is not enabled at boot, and with
the MMU off unaligned accesses fault.

Add NETWALKER to the armv7 kernel sets so that gzimg can be built.

Tested on NetWalker: the gzimg image boots the NETWALKER kernel from
SD.  Built gzboot for all boards on earmv7hf, earmv5 and earmv4.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/distrib/evbarm/gzboot/gzimg/Makefile
cvs rdiff -u -r1.145 -r1.146 src/etc/etc.evbarm/Makefile.inc
cvs rdiff -u -r0 -r1.1 src/sys/arch/evbarm/stand/board/netwalker.c
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/evbarm/stand/gzboot/Makefile
cvs rdiff -u -r1.38 -r1.39 src/sys/arch/evbarm/stand/gzboot/Makefile.gzboot
cvs rdiff -u -r0 -r1.1 \
    src/sys/arch/evbarm/stand/gzboot/NETWALKER_dram_0x90008000/Makefile \
    src/sys/arch/evbarm/stand/gzboot/NETWALKER_dram_0x90008000/ldscript

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index