PKGBUILDs/alarm/uboot-pandaboard/alarm.patch

83 lines
2.6 KiB
Diff
Raw Normal View History

2014-05-17 20:00:54 +00:00
diff -urN a/include/configs/ti_omap4_common.h b/include/configs/ti_omap4_common.h
--- a/include/configs/ti_omap4_common.h 2014-05-17 13:32:47.384861195 -0600
+++ b/include/configs/ti_omap4_common.h 2014-05-17 13:48:19.361560495 -0600
@@ -85,6 +85,8 @@
#undef CONFIG_CMD_NET
#undef CONFIG_CMD_NFS
2014-01-08 03:05:06 +00:00
+#define CONFIG_IDENT_STRING " Arch Linux ARM"
+
2014-05-17 20:00:54 +00:00
/*
* Environment setup
*/
@@ -95,9 +97,9 @@
"fdtaddr=0x815f0000\0" \
2014-01-08 03:05:06 +00:00
"fdtfile=undefined\0" \
2014-05-17 20:00:54 +00:00
"bootpart=0:1\0" \
- "bootdir=\0" \
2014-01-08 03:05:06 +00:00
- "fdtdir=/dtbs\0" \
2014-05-17 20:00:54 +00:00
- "bootfile=zImage\0" \
+ "rootpart=0:2\0" \
+ "bootdir=/boot\0" \
2013-07-19 19:54:57 +00:00
+ "fdtdir=/boot/dtbs\0" \
"usbtty=cdc_acm\0" \
"vram=16M\0" \
2014-05-17 20:00:54 +00:00
"defaultdisplay=dvi\0" \
@@ -105,24 +107,26 @@
2013-07-19 19:54:57 +00:00
"buddy=none\0" \
"mmcdev=0\0" \
"mmcpart=1\0" \
- "mmcroot=/dev/mmcblk0p2 ro\0" \
2014-01-08 03:05:06 +00:00
- "mmcrootfstype=ext4 rootwait fixrtc\0" \
+ "mmcroot=/dev/mmcblk0p2 rw rootwait fixrtc\0" \
2013-07-19 19:54:57 +00:00
"mmcargs=setenv bootargs console=${console} " \
"buddy=${buddy} "\
2014-01-08 03:05:06 +00:00
"vram=${vram} " \
"omapfb.mode=${defaultdisplay}:${dvimode} " \
- "root=${mmcroot} " \
- "rootfstype=${mmcrootfstype}\0" \
+ "root=${mmcroot}\0" \
2014-05-17 20:00:54 +00:00
"loadbootscript=load mmc ${bootpart} ${loadaddr} boot.scr\0" \
2014-01-08 03:05:06 +00:00
"bootscript=echo Running bootscript from mmc${mmcdev} ...; " \
"source ${loadaddr}\0" \
2014-05-17 20:00:54 +00:00
"loadbootenv=load mmc ${bootpart} ${loadaddr} uEnv.txt\0" \
"importbootenv=echo Importing environment from mmc${mmcdev} ...; " \
2014-01-08 03:05:06 +00:00
"env import -t ${loadaddr} ${filesize}\0" \
2014-05-17 20:00:54 +00:00
- "loadimage=load mmc ${bootpart} ${loadaddr} ${bootdir}/${bootfile}\0" \
- "mmcboot=echo Booting from mmc${mmcdev} ...; " \
+ "loadzimage=load mmc ${rootpart} ${loadaddr} ${bootdir}/zImage\0" \
+ "loaduimage=load mmc ${rootpart} ${loadaddr} ${bootdir}/uImage\0" \
+ "mmcbootz=echo Booting from mmc${mmcdev} ...; " \
2014-01-08 03:05:06 +00:00
"run mmcargs; " \
"bootz ${loadaddr} - ${fdtaddr}\0" \
2014-05-17 20:00:54 +00:00
+ "mmcbootm=echo Booting from mmc${mmcdev} ...; " \
+ "run mmcargs; " \
+ "bootm ${loadaddr}\0" \
2014-01-08 03:05:06 +00:00
"mmc_classic_boot=echo Booting from mmc${mmcdev} ...; " \
"run mmcargs; " \
2014-05-17 20:00:54 +00:00
"bootz ${loadaddr}\0" \
@@ -137,7 +141,7 @@
2014-01-08 03:05:06 +00:00
"setenv fdtfile omap4-panda-es.dtb; fi;" \
"if test $fdtfile = undefined; then " \
"echo WARNING: Could not determine device tree to use; fi; \0" \
2014-05-17 20:00:54 +00:00
- "loadfdt=load mmc ${bootpart} ${fdtaddr} ${fdtdir}/${fdtfile}\0" \
+ "loadfdt=load mmc ${rootpart} ${fdtaddr} ${fdtdir}/${fdtfile}\0" \
2013-07-19 19:54:57 +00:00
#define CONFIG_BOOTCOMMAND \
"run findfdt; " \
2014-05-17 20:00:54 +00:00
@@ -155,9 +159,12 @@
2014-01-08 03:05:06 +00:00
"run uenvcmd;" \
"fi;" \
"fi;" \
2014-05-17 20:00:54 +00:00
- "if run loadimage; then " \
+ "if run loadzimage; then " \
"run loadfdt;" \
- "run mmcboot; " \
+ "run mmcbootz; " \
+ "fi; " \
+ "if run loaduimage; then " \
+ "run mmcbootm; " \
"fi; " \
"fi"