km/common: fix ramfs development target
Calucations of PRAM needs to take into account the 'rootfssize'. Memory available to the linux kernel 'mem=' is in all cases set to the total memory size minus the pram size. Signed-off-by: Andreas Huber <andreas.huber@keymile.com> Signed-off-by: Holger Brunck <holger.brunck@keymile.com> cc: Wolfgang Denk <wd@denx.de>
This commit is contained in:
committed by
Wolfgang Denk
parent
0eb0e59ed3
commit
2a7714ce64
@@ -170,7 +170,7 @@
|
||||
"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}" \
|
||||
":${hostname}:${netdev}:off3" \
|
||||
" console=" CONFIG_KM_CONSOLE_TTY ",${baudrate}" \
|
||||
" mem=${pnvramaddr} init=${init}" \
|
||||
" mem=${kernelmem} init=${init}" \
|
||||
" phram.phram=phvar,${varaddr}," xstr(CONFIG_KM_PHRAM) \
|
||||
" ubi.mtd=" CONFIG_KM_UBI_LINUX_MTD_NAME " " \
|
||||
CONFIG_KM_DEF_BOOT_ARGS_CPU \
|
||||
|
||||
Reference in New Issue
Block a user