patch-include_configs_mx6_cubox-i_h 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. --- u-boot-imx6-20140416.orig/include/configs/mx6_cubox-i.h 2014-04-17 15:53:51.000000000 +0200
  2. +++ u-boot-imx6-20140416/include/configs/mx6_cubox-i.h 2014-04-22 11:45:28.117832106 +0200
  3. @@ -171,7 +171,7 @@
  4. "ip_dyn=yes\0" \
  5. "mmcdev=" __stringify(CONFIG_SYS_MMC_ENV_DEV) "\0" \
  6. "mmcpart=1\0" \
  7. - "mmcroot=/dev/mmcblk0p2 rootwait rw\0" \
  8. + "mmcroot=/dev/mmcblk0p1 rootwait rw\0" \
  9. "update_sd_firmware_filename=u-boot.imx\0" \
  10. "update_sd_firmware=" \
  11. "if test ${ip_dyn} = yes; then " \
  12. @@ -212,19 +212,19 @@
  13. "importbootenv=echo Importing environment from mmc${mmcdev} ...; " \
  14. "env import -t ${loadaddr} ${filesize};\0" \
  15. "autobootfdt=echo Booting ${boot_file}; " \
  16. - "if test ${boot_file} = zImage; then " \
  17. + "if test ${boot_file} = kernel; then " \
  18. "bootz ${loadaddr} - ${fdt_addr}; " \
  19. "else " \
  20. "bootm ${loadaddr} - ${fdt_addr}; " \
  21. "fi;\0 " \
  22. "autoboot=echo Booting ${boot_file}; " \
  23. - "if test ${boot_file} = zImage; then " \
  24. + "if test ${boot_file} = kernel; then " \
  25. "bootz; " \
  26. "else " \
  27. "bootm; " \
  28. "fi;\0 " \
  29. "bootit=setenv boot_file ${bootfile}; " \
  30. - "if test ${boot_file} = zImage; then " \
  31. + "if test ${boot_file} = kernel; then " \
  32. "if test ${boot_fdt} = yes || test ${boot_fdt} = try; then " \
  33. "if run loadfdt; then " \
  34. "run autobootfdt; " \
  35. @@ -260,7 +260,7 @@
  36. "setenv get_cmd tftp; " \
  37. "fi; " \
  38. "if test ${bootfile} = auto; then " \
  39. - "setenv bootfile zImage; " \
  40. + "setenv bootfile kernel; " \
  41. "if ${get_cmd} ${bootfile}; then " \
  42. "run bootit; " \
  43. "else " \
  44. @@ -286,7 +286,7 @@
  45. "fi; " \
  46. "if test ${bootfile} = auto; then " \
  47. "setenv origbootfile auto; " \
  48. - "setenv bootfile zImage; " \
  49. + "setenv bootfile kernel; " \
  50. "if run loadbootfile; then " \
  51. "run mmcboot; " \
  52. "else " \