Changeset 44558


Ignore:
Timestamp:
2015-02-27T18:38:28+01:00 (3 years ago)
Author:
jogo
Message:

brcm63xx: allow lzma to use 32MB RAM

Most 16 MiB RAM devices don't even load elf kernels, so it's safe to
assume we have at least 32 MB RAM. This fixes tftp booting with the
default package set as this already produces an uncompressed
kernel > 8 MiB.

New limit is 8 MiB compressed / 24 MiB compressed.

Signed-off-by: Jonas Gorski <jogo@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/brcm63xx/image/Makefile

    r44556 r44558  
    88include $(INCLUDE_DIR)/image.mk 
    99 
    10 LOADADDR = 0x80010000           # RAM start + 16M  
     10LOADADDR = 0x80010000           # RAM start + 64K 
    1111KERNEL_ENTRY = $(LOADADDR)      # Newer kernels add a jmp to the kernel_entry at the start of the binary 
    12 RAMSIZE = 0x01000000            # 64MB 
     12RAMSIZE = 0x02000000            # 32MB 
     13LZMA_TEXT_START = 0x81800000    # 32MB - 8MB 
    1314 
    1415LOADER_MAKEOPTS= \ 
     
    1617                LOADADDR=$(LOADADDR) \ 
    1718                KERNEL_ENTRY=$(KERNEL_ENTRY) \ 
    18                 RAMSIZE=$(RAMSIZE) 
     19                RAMSIZE=$(RAMSIZE) \ 
     20                LZMA_TEXT_START=$(LZMA_TEXT_START) \ 
    1921 
    2022define rootfspad/jffs2-128k 
     
    125127                LOADER_DATA="$(KDIR)/vmlinux$(1).lzma" \ 
    126128                LOADER=$(IMG_PREFIX)-loader$(1).elf \ 
    127                 LZMA_TEXT_START=0x80a00000 \ 
    128129                compile loader.elf 
    129130 
Note: See TracChangeset for help on using the changeset viewer.