Ktam3874/pitx software guide – Kontron KTAM3874-pITX User Manual

Page 15

Advertising
background image

KTD-S0057-I

Page 11

U-Boot Environment


KTAM3874/pITX Software Guide

ramdisk_file=ramdisk.gz
rootpart=2
scriptaddr=0x80900000
scriptfile=boot.scr
sdboot=setenv device 0; setenv rootpart 2; run bootmmc
setbootarg=setenv lcd_bootargs lcdmode=${lcdmode} videomode=${videomode};setenv bootargs ${default_bootargs}

${lowmem} ${highmem} ${debug_bootargs} ${root_bootargs}

${lcd_bootargs} ${extra_bootargs} ${cpuspeed}

eth0=${ethaddr}

eth1=${eth1addr}

setmemarg=setenv lowmem mem=417M;test ${cputype} = DM8148 && setenv lowmem mem=364M;setenv highmem

mem=320M@0x9FC00000;test ${memsize} = 2048 &&

setenv

highmem

${highmem} mem=1023M@0xC0000000;

setenv highmem ${highmem} vmalloc=512M

spiboot=setenv root_bootargs root=/dev/mmcblk0p${rootpart} rw rootwait;run setbootarg;sf probe 0 && sf read ${loadaddr}

0xE2000 0x31E000 && bootm ${loadaddr}

verify=yes

videomode=25180000,640,656,752,800,480,490,492,525,0,1,1

ATTENTION

Do not change the arguments in red color because U-Boot generates these parameters itself.

The U-Boot command 'printenv' lists all variables, 'setenv' modifies the values and 'saveenv' stores the
new environment.

Advertising
This manual is related to the following products: