0001-parabola-arm-modifications.patch 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. From 02714f8c47a6500209907afcc6faf8823e55c0ca Mon Sep 17 00:00:00 2001
  2. From: Kevin Mihelich <kevin@archlinuxarm.org>
  3. Date: Mon, 14 Aug 2017 18:37:05 -0600
  4. Subject: [PATCH] arch linux arm modifications
  5. ---
  6. configs/am335x_boneblack_defconfig | 1 -
  7. include/configs/am335x_evm.h | 8 +++++---
  8. 2 files changed, 5 insertions(+), 4 deletions(-)
  9. diff --git a/configs/am335x_boneblack_defconfig b/configs/am335x_boneblack_defconfig
  10. index 3d86c1b34e..b8a72e57df 100644
  11. --- a/configs/am335x_boneblack_defconfig
  12. +++ b/configs/am335x_boneblack_defconfig
  13. @@ -5,7 +5,6 @@ CONFIG_AM33XX=y
  14. # CONFIG_SPL_NAND_SUPPORT is not set
  15. CONFIG_SPL_STACK_R_ADDR=0x82000000
  16. CONFIG_DISTRO_DEFAULTS=y
  17. -CONFIG_SYS_EXTRA_OPTIONS="EMMC_BOOT"
  18. CONFIG_SYS_CONSOLE_INFO_QUIET=y
  19. CONFIG_VERSION_VARIABLE=y
  20. CONFIG_ARCH_MISC_INIT=y
  21. diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
  22. index 0c6d2880da..9afc46411d 100644
  23. --- a/include/configs/am335x_evm.h
  24. +++ b/include/configs/am335x_evm.h
  25. @@ -17,6 +17,7 @@
  26. #define __CONFIG_AM335X_EVM_H
  27. #include <configs/ti_am335x_common.h>
  28. +#define CONFIG_ENV_IS_NOWHERE
  29. #ifndef CONFIG_SPL_BUILD
  30. # define CONFIG_TIMESTAMP
  31. @@ -76,10 +77,7 @@
  32. #define BOOT_TARGET_DEVICES(func) \
  33. func(MMC, mmc, 0) \
  34. - func(LEGACY_MMC, legacy_mmc, 0) \
  35. func(MMC, mmc, 1) \
  36. - func(LEGACY_MMC, legacy_mmc, 1) \
  37. - func(NAND, nand, 0) \
  38. func(PXE, pxe, na) \
  39. func(DHCP, dhcp, na)
  40. @@ -87,6 +85,10 @@
  41. "if test ${boot_fit} -eq 1; then " \
  42. "run update_to_fit;" \
  43. "fi;" \
  44. + "gpio clear 54; " \
  45. + "gpio clear 55; " \
  46. + "gpio clear 56; " \
  47. + "gpio set 53; " \
  48. "run findfdt; " \
  49. "run init_console; " \
  50. "run envboot; " \
  51. @@ -104,8 +106,9 @@
  52. DEFAULT_FIT_TI_ARGS \
  53. "bootpart=0:2\0" \
  54. "bootdir=/boot\0" \
  55. - "bootfile=zImage\0" \
  56. - "fdtfile=undefined\0" \
  57. + "bootfile=vmlinuz-linux-libre\0" \
  58. + "rdfile=initramfs-linux-libre.img\0" \
  59. + "fdtfile=/boot/dtbs/linux-libre\0" \
  60. "console=ttyO0,115200n8\0" \
  61. "partitions=" \
  62. "uuid_disk=${uuid_gpt_disk};" \
  63. --
  64. 2.14.1