mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-10 04:26:19 -04:00
Change max size of uncompressed uImage's to 8MByte and add
CFG_BOOTM_LEN to adjust this setting. As mentioned by Robin Getz on 2005-05-24 the size of uncompressed uImages was restricted to 4MBytes. This default size is now increased to 8Mbytes and can be overrided by setting CFG_BOOTM_LEN in the board config file. Patch by Stefan Roese, 13 Mar 2006
This commit is contained in:
parent
f3fecfe6d7
commit
15940c9af3
10
CHANGELOG
10
CHANGELOG
@ -2,6 +2,16 @@
|
|||||||
Changes since U-Boot 1.1.4:
|
Changes since U-Boot 1.1.4:
|
||||||
======================================================================
|
======================================================================
|
||||||
|
|
||||||
|
* Change max size of uncompressed uImage's to 8MByte and add
|
||||||
|
CFG_BOOTM_LEN to adjust this setting.
|
||||||
|
|
||||||
|
As mentioned by Robin Getz on 2005-05-24 the size of uncompressed
|
||||||
|
uImages was restricted to 4MBytes. This default size is now
|
||||||
|
increased to 8Mbytes and can be overrided by setting CFG_BOOTM_LEN
|
||||||
|
in the board config file.
|
||||||
|
|
||||||
|
Patch by Stefan Roese, 13 Mar 2006
|
||||||
|
|
||||||
* Fix problem with updated PCI code in cpu/ppc4xx/405gp_pci.c
|
* Fix problem with updated PCI code in cpu/ppc4xx/405gp_pci.c
|
||||||
Patch by Stefan Roese, 13 Mar 2006
|
Patch by Stefan Roese, 13 Mar 2006
|
||||||
|
|
||||||
|
6
README
6
README
@ -1734,6 +1734,12 @@ Configuration Settings:
|
|||||||
- CFG_MALLOC_LEN:
|
- CFG_MALLOC_LEN:
|
||||||
Size of DRAM reserved for malloc() use.
|
Size of DRAM reserved for malloc() use.
|
||||||
|
|
||||||
|
- CFG_BOOTM_LEN:
|
||||||
|
Normally compressed uImages are limited to an
|
||||||
|
uncompressed size of 8 MBytes. If this is not enough,
|
||||||
|
you can define CFG_BOOTM_LEN in your board config file
|
||||||
|
to adjust this setting to your needs.
|
||||||
|
|
||||||
- CFG_BOOTMAPSZ:
|
- CFG_BOOTMAPSZ:
|
||||||
Maximum size of memory mapped by the startup code of
|
Maximum size of memory mapped by the startup code of
|
||||||
the Linux kernel; all data that must be processed by
|
the Linux kernel; all data that must be processed by
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* (C) Copyright 2000-2002
|
* (C) Copyright 2000-2006
|
||||||
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
||||||
*
|
*
|
||||||
* See file CREDITS for list of people who contributed to this
|
* See file CREDITS for list of people who contributed to this
|
||||||
@ -140,6 +140,10 @@ static boot_os_Fcn do_bootm_lynxkdi;
|
|||||||
extern void lynxkdi_boot( image_header_t * );
|
extern void lynxkdi_boot( image_header_t * );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef CFG_BOOTM_LEN
|
||||||
|
#define CFG_BOOTM_LEN 0x800000 /* use 8MByte as default max gunzip size */
|
||||||
|
#endif
|
||||||
|
|
||||||
image_header_t header;
|
image_header_t header;
|
||||||
|
|
||||||
ulong load_addr = CFG_LOAD_ADDR; /* Default Load Address */
|
ulong load_addr = CFG_LOAD_ADDR; /* Default Load Address */
|
||||||
@ -150,7 +154,7 @@ int do_bootm (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
|||||||
ulong addr;
|
ulong addr;
|
||||||
ulong data, len, checksum;
|
ulong data, len, checksum;
|
||||||
ulong *len_ptr;
|
ulong *len_ptr;
|
||||||
uint unc_len = 0x400000;
|
uint unc_len = CFG_BOOTM_LEN;
|
||||||
int i, verify;
|
int i, verify;
|
||||||
char *name, *s;
|
char *name, *s;
|
||||||
int (*appl)(int, char *[]);
|
int (*appl)(int, char *[]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user