mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-06-07 15:21:36 +00:00
arm: pxa: update LP-8x4x to boot DT kernel
DT kernel requires CONFIG_OF_LIBFDT. 'bootm' needs to know DT location. In addition, fix kernel console device and enable U-Boot long help. Signed-off-by: Sergei Ianovich <ynvich@gmail.com> CC: Marek Vasut <marex@denx.de>
This commit is contained in:
parent
bf92349b41
commit
7cd5441eb3
1 changed files with 5 additions and 5 deletions
|
@ -20,18 +20,18 @@
|
||||||
#define CONFIG_SYS_MALLOC_LEN (128*1024)
|
#define CONFIG_SYS_MALLOC_LEN (128*1024)
|
||||||
#define CONFIG_ARCH_CPU_INIT
|
#define CONFIG_ARCH_CPU_INIT
|
||||||
#define CONFIG_BOOTCOMMAND \
|
#define CONFIG_BOOTCOMMAND \
|
||||||
"bootm 80000;"
|
"bootm 80000 - 240000;"
|
||||||
|
|
||||||
#define CONFIG_BOOTARGS \
|
#define CONFIG_BOOTARGS \
|
||||||
"console=ttySA0,115200 mem=128M root=/dev/mmcblk0p1 rw" \
|
"console=ttyS0,115200 mem=128M root=/dev/mmcblk0p1 rw" \
|
||||||
"init=/sbin/init rootfstype=ext3"
|
"init=/sbin/init rootfstype=ext4 rootwait"
|
||||||
|
|
||||||
#define CONFIG_TIMESTAMP
|
#define CONFIG_TIMESTAMP
|
||||||
#define CONFIG_BOOTDELAY 2 /* Autoboot delay */
|
#define CONFIG_BOOTDELAY 2 /* Autoboot delay */
|
||||||
#define CONFIG_CMDLINE_TAG
|
#define CONFIG_CMDLINE_TAG
|
||||||
#define CONFIG_SETUP_MEMORY_TAGS
|
#define CONFIG_SETUP_MEMORY_TAGS
|
||||||
#define CONFIG_LZMA /* LZMA compression support */
|
#define CONFIG_LZMA /* LZMA compression support */
|
||||||
#undef CONFIG_OF_LIBFDT
|
#define CONFIG_OF_LIBFDT
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Serial Console Configuration
|
* Serial Console Configuration
|
||||||
|
@ -101,7 +101,7 @@
|
||||||
*/
|
*/
|
||||||
#define CONFIG_SYS_HUSH_PARSER 1
|
#define CONFIG_SYS_HUSH_PARSER 1
|
||||||
|
|
||||||
#undef CONFIG_SYS_LONGHELP
|
#define CONFIG_SYS_LONGHELP
|
||||||
#ifdef CONFIG_SYS_HUSH_PARSER
|
#ifdef CONFIG_SYS_HUSH_PARSER
|
||||||
#define CONFIG_SYS_PROMPT "$ "
|
#define CONFIG_SYS_PROMPT "$ "
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Add table
Reference in a new issue