From b4aa462e12b2c2920fc364581186b6c5b48424bd Mon Sep 17 00:00:00 2001 From: Roger Monk Date: Thu, 27 May 2010 17:26:40 +0100 Subject: angstrom-uboot-scripts: Add linuxtag demo with picodlp config Signed-off-by: Roger Monk Signed-off-by: Koen Kooi --- recipes/angstrom/angstrom-uboot-scripts.bb | 2 +- .../angstrom-uboot-scripts/linuxtagdemo-pico.cmd | 39 ++++++++++++++++++++++ 2 files changed, 40 insertions(+), 1 deletion(-) create mode 100755 recipes/angstrom/angstrom-uboot-scripts/linuxtagdemo-pico.cmd diff --git a/recipes/angstrom/angstrom-uboot-scripts.bb b/recipes/angstrom/angstrom-uboot-scripts.bb index 67245a0506..2af6a74378 100644 --- a/recipes/angstrom/angstrom-uboot-scripts.bb +++ b/recipes/angstrom/angstrom-uboot-scripts.bb @@ -1,6 +1,6 @@ DESCRIPTION = "Various uboot scripts" -PR = "r1" +PR = "r2" DEPENDS = "u-boot-mkimage-native" diff --git a/recipes/angstrom/angstrom-uboot-scripts/linuxtagdemo-pico.cmd b/recipes/angstrom/angstrom-uboot-scripts/linuxtagdemo-pico.cmd new file mode 100755 index 0000000000..32307ff226 --- /dev/null +++ b/recipes/angstrom/angstrom-uboot-scripts/linuxtagdemo-pico.cmd @@ -0,0 +1,39 @@ +#setenv usbtty 'cdc_acm' +#setenv mpurate '500' +#setenv buddy 'none' + +#setenv vram '12M' +#setenv defaultdisplay 'dvi' +#setenv dvimode '640x480MR-16@60' + +setenv setbase 'setenv baseargs ${memmap} console=${console} mpurate=${mpurate} buddy=${buddy} vram=${vram} musb_hdrc.fifomode=${musbfifomode} omapfb.mode=${defaultdisplay}:${dvimode} omapdss.def_disp=${defaultdisplay}' + +setenv nandroot 'root=/dev/mtdblock4 rw rootfstype=jffs2' +setenv nandargs 'run setbase; setenv bootargs ${baseargs} ${nandroot}' +setenv nandloaduimage 'nand read ${loadaddr} 280000 400000' +setenv nandboot 'run nandloadimage; bootm ${loadaddr}' + +setenv mmcroot 'root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait' +setenv mmcargs 'run setbase; setenv bootargs ${baseargs} ${mmcroot}' +setenv mmcloaduimage 'fatload mmc 0 ${loadaddr} uImage' +setenv mmcboot 'run mmcloaduimage; bootm ${loadaddr}' + +echo Setting Specific Environment from MMC boot.scr + +# set musb to only use 8k for fifo memory - not necesary on xm, but safe anyway +setenv musbfifomode '5' + +# mpurate is read from omap registers on omap3530 (which x-load has set to 600mhz?), on xm, uboot sets this to 1GHz +#setenv mpurate '720' +setenv memmap 'mem=80M mem=128M@0x88000000' +setenv vram '16M omapfb.vram=0:8M,1:4M,2:4M' +setenv defaultdisplay 'dvi' + +setenv dvimode '640x480MR-32@60' +#setenv dvimode 'hd720' +#setenv dvimode '1280x720MR-32@60' + +run mmcargs +printenv +run mmcboot + -- cgit v1.2.3