0001-parabola-arm-modifications.patch 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. diff --git a/configs/omap4_panda_defconfig b/configs/omap4_panda_defconfig
  2. index 8d9024854..3d7ffc39c 100644
  3. --- a/configs/omap4_panda_defconfig
  4. +++ b/configs/omap4_panda_defconfig
  5. @@ -10,6 +10,10 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y
  6. CONFIG_VERSION_VARIABLE=y
  7. CONFIG_SPL=y
  8. CONFIG_SPL_OS_BOOT=y
  9. +CONFIG_AUTOBOOT_KEYED=y
  10. +CONFIG_AUTOBOOT_PROMPT="Press SPACE to abort autoboot in %d seconds\n"
  11. +CONFIG_AUTOBOOT_DELAY_STR="d"
  12. +CONFIG_AUTOBOOT_STOP_STR=" "
  13. # CONFIG_CMD_IMLS is not set
  14. CONFIG_CMD_ASKENV=y
  15. # CONFIG_CMD_FLASH is not set
  16. @@ -20,8 +24,8 @@ CONFIG_CMD_USB=y
  17. CONFIG_CMD_GPIO=y
  18. # CONFIG_CMD_SETEXPR is not set
  19. # CONFIG_CMD_NFS is not set
  20. -CONFIG_CMD_EXT4_WRITE=y
  21. CONFIG_SYS_NS16550=y
  22. CONFIG_USB=y
  23. CONFIG_USB_STORAGE=y
  24. CONFIG_OF_LIBFDT=y
  25. +CONFIG_IDENT_STRING=" Parabola GNU/Linux-libre"
  26. diff --git a/include/configs/ti_omap4_common.h b/include/configs/ti_omap4_common.h
  27. index 8e0f9eb96..a2eb1f9ff 100644
  28. --- a/include/configs/ti_omap4_common.h
  29. +++ b/include/configs/ti_omap4_common.h
  30. @@ -42,7 +42,7 @@
  31. * the timings to use or use pre-determined timings (based on using the
  32. * dynamic method. Default to the static timing infomation.
  33. */
  34. -#define CONFIG_SYS_EMIF_PRECALCULATED_TIMING_REGS
  35. +/*#define CONFIG_SYS_EMIF_PRECALCULATED_TIMING_REGS*/
  36. #ifndef CONFIG_SYS_EMIF_PRECALCULATED_TIMING_REGS
  37. #define CONFIG_SYS_AUTOMATIC_SDRAM_DETECTION
  38. #define CONFIG_SYS_DEFAULT_LPDDR2_TIMINGS
  39. @@ -74,6 +74,12 @@
  40. #define CONFIG_USB_DEVICE 1
  41. #define CONFIG_USB_TTY 1
  42. +/* Enable Extlinux boot support */
  43. +#define CONFIG_CMD_PXE
  44. +#define CONFIG_MENU
  45. +#define BOOT_TARGET_DEVICES(func)
  46. +#include <config_distro_bootcmd.h>
  47. +
  48. /*
  49. * Environment setup
  50. */
  51. @@ -91,9 +97,8 @@
  52. #define BOOT_TARGET_DEVICES(func) \
  53. func(MMC, mmc, 0) \
  54. - func(LEGACY_MMC, legacy_mmc, 0) \
  55. func(MMC, mmc, 1) \
  56. - func(LEGACY_MMC, legacy_mmc, 1) \
  57. + func(USB, usb, 0) \
  58. func(PXE, pxe, na) \
  59. func(DHCP, dhcp, na)