patch-include_configs_mx6_cubox-i_h 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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-06-30 12:44:38.808082044 +0200
  3. @@ -158,7 +158,7 @@
  4. "script=boot.scr\0" \
  5. "bootfile=auto\0" \
  6. "bootenv=uEnv.txt\0" \
  7. - "boot_prefixes=/ /boot/\0" \
  8. + "boot_prefixes=/boot/\0" \
  9. "console=ttymxc0\0" \
  10. "stdin=serial,usbkbd\0" \
  11. "stdout=serial,vga\0" \
  12. @@ -171,7 +171,7 @@
  13. "ip_dyn=yes\0" \
  14. "mmcdev=" __stringify(CONFIG_SYS_MMC_ENV_DEV) "\0" \
  15. "mmcpart=1\0" \
  16. - "mmcroot=/dev/mmcblk0p2 rootwait rw\0" \
  17. + "mmcroot=/dev/mmcblk0p1 rootwait rw\0" \
  18. "update_sd_firmware_filename=u-boot.imx\0" \
  19. "update_sd_firmware=" \
  20. "if test ${ip_dyn} = yes; then " \
  21. @@ -212,19 +212,19 @@
  22. "importbootenv=echo Importing environment from mmc${mmcdev} ...; " \
  23. "env import -t ${loadaddr} ${filesize};\0" \
  24. "autobootfdt=echo Booting ${boot_file}; " \
  25. - "if test ${boot_file} = zImage; then " \
  26. + "if test ${boot_file} = kernel; then " \
  27. "bootz ${loadaddr} - ${fdt_addr}; " \
  28. "else " \
  29. "bootm ${loadaddr} - ${fdt_addr}; " \
  30. "fi;\0 " \
  31. "autoboot=echo Booting ${boot_file}; " \
  32. - "if test ${boot_file} = zImage; then " \
  33. + "if test ${boot_file} = kernel; then " \
  34. "bootz; " \
  35. "else " \
  36. "bootm; " \
  37. "fi;\0 " \
  38. "bootit=setenv boot_file ${bootfile}; " \
  39. - "if test ${boot_file} = zImage; then " \
  40. + "if test ${boot_file} = kernel; then " \
  41. "if test ${boot_fdt} = yes || test ${boot_fdt} = try; then " \
  42. "if run loadfdt; then " \
  43. "run autobootfdt; " \
  44. @@ -260,7 +260,7 @@
  45. "setenv get_cmd tftp; " \
  46. "fi; " \
  47. "if test ${bootfile} = auto; then " \
  48. - "setenv bootfile zImage; " \
  49. + "setenv bootfile kernel; " \
  50. "if ${get_cmd} ${bootfile}; then " \
  51. "run bootit; " \
  52. "else " \
  53. @@ -286,7 +286,7 @@
  54. "fi; " \
  55. "if test ${bootfile} = auto; then " \
  56. "setenv origbootfile auto; " \
  57. - "setenv bootfile zImage; " \
  58. + "setenv bootfile kernel; " \
  59. "if run loadbootfile; then " \
  60. "run mmcboot; " \
  61. "else " \