Files
tzpuFusionX/software/linux/project/configs/current.configs
Philip Smart e234adee32 Fix ttymzdrv compilation, add PCW8256 CPLD project, harden Build_FusionX.sh
- Fix ttymzdrv kernel module build failure with GCC 5.5:
  - Static variables cannot be initialised from const locals (not compile-time
    constants in C). Changed to zero-init with runtime sharpmz_init_defaults()
  - Added -Wno-error to ccflags-y to handle unrecognised -Wno-* flags from
    the kernel Makefile that GCC 5.5 cc1 rejects under -Werror
- Add PCW8256 Quartus project files (.qpf, .qsf, .sdc) - were gitignored
  by **/build/** rule, force-added to match MZ80A/MZ700/MZ2000
- Make Build_FusionX.sh more resilient:
  - make image-nocheck failure is now non-fatal (bootanimation needs GLIBC_2.28)
  - Upgrade image generation errors are non-fatal
- Update rebuilt binaries (ttymzdrv.ko, mspi_main)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-15 11:22:07 +00:00

35 lines
2.6 KiB
Plaintext
Vendored

PROJ_ROOT = /dvlp/Projects/tzpu/FusionX/software/linux/project
CONFIG_NAME = config_module_list.mk
SOURCE_MK = ../sdk/sdk.mk
KERNEL_MEMADR = $(shell /dvlp/Projects/tzpu/FusionX/software/linux/project/image/makefiletools/bin/mmapparser /dvlp/Projects/tzpu/FusionX/software/linux/project/board/$(CHIP)/mmap/$(MMAP) $(CHIP) E_LX_MEM phyaddr)
KERNEL_MEMLEN = $(shell /dvlp/Projects/tzpu/FusionX/software/linux/project/image/makefiletools/bin/mmapparser /dvlp/Projects/tzpu/FusionX/software/linux/project/board/$(CHIP)/mmap/$(MMAP) $(CHIP) E_LX_MEM size)
KERNEL_MEMADR2 = $(shell /dvlp/Projects/tzpu/FusionX/software/linux/project/image/makefiletools/bin/mmapparser /dvlp/Projects/tzpu/FusionX/software/linux/project/board/$(CHIP)/mmap/$(MMAP) $(CHIP) E_LX_MEM2 phyaddr)
KERNEL_MEMLEN2 = $(shell /dvlp/Projects/tzpu/FusionX/software/linux/project/image/makefiletools/bin/mmapparser /dvlp/Projects/tzpu/FusionX/software/linux/project/board/$(CHIP)/mmap/$(MMAP) $(CHIP) E_LX_MEM2 size)
KERNEL_MEMADR3 = $(shell /dvlp/Projects/tzpu/FusionX/software/linux/project/image/makefiletools/bin/mmapparser /dvlp/Projects/tzpu/FusionX/software/linux/project/board/$(CHIP)/mmap/$(MMAP) $(CHIP) E_LX_MEM3 phyaddr)
KERNEL_MEMLEN3 = $(shell /dvlp/Projects/tzpu/FusionX/software/linux/project/image/makefiletools/bin/mmapparser /dvlp/Projects/tzpu/FusionX/software/linux/project/board/$(CHIP)/mmap/$(MMAP) $(CHIP) E_LX_MEM3 size)
LOGO_ADDR = $(shell /dvlp/Projects/tzpu/FusionX/software/linux/project/image/makefiletools/bin/mmapparser /dvlp/Projects/tzpu/FusionX/software/linux/project/board/$(CHIP)/mmap/$(MMAP) $(CHIP) $(BOOTLOGO_ADDR) miuaddr)
BOOTLOGO_BUFSIZE = $(shell /dvlp/Projects/tzpu/FusionX/software/linux/project/image/makefiletools/bin/mmapparser /dvlp/Projects/tzpu/FusionX/software/linux/project/board/$(CHIP)/mmap/$(MMAP) $(CHIP) $(BOOTLOGO_ADDR) size)
CHIP = i2m
BOARD = 011A
BOARD_NAME = SSC011A-S01A
PRODUCT = nvr
TOOLCHAIN = glibc
TOOLCHAIN_VERSION = 8.2.1
KERNEL_VERSION = 4.9.84
LIBC = libc-2.28
BUSYBOX = busybox-1.20.2-arm-linux-gnueabihf-glibc-8.2.1-dynamic
KERNEL_CONFIG = glibc
IMAGE_CONFIG = spinand.ubifs.p2.partition.config
CUSTOMER_OPTIONS = 011a.201_options.mk
CUSTOMER_TAILOR = nvr_i2m_display_glibc_tailor.mk
MMAP = MMAP_I2M_128M.h
MHAL = i2m
MERGE_BOOT = TRUE
BOOTLOGO_FILE = sigmastar1024_600.jpg
BOOTLOGO_ADDR = E_LX_LOGO_RESERVED_FB
DISP_OUT_NAME = SAT070CP50
EXBOOTARGS =
KERNEL_BOOT_ENV = LX_MEM=$(KERNEL_MEMLEN) mma_heap=mma_heap_name0,miu=0,sz=0x1000000 mma_memblock_remove=1 highres=off $(KERNEL_RESERVED_ENV)
TOOLCHAIN_REL = arm-linux-gnueabihf-
KERNEL_RESERVED_ENV = mmap_reserved=fb,miu=0,sz=0x300000,max_start_off=0x7C00000,max_end_off=0x7F00000