Advertisement
Guest User

Untitled

a guest
Nov 22nd, 2021
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.52 KB | None | 0 0
  1. From d322a5393af423b6341724c1f7aea7cc99dfd0df Mon Sep 17 00:00:00 2001
  2. From: Marek Belisko <marek.belisko@open-nandra.com>
  3. Date: Mon, 8 Nov 2021 16:33:29 +0100
  4. Subject: [PATCH] Mender offset + size for env
  5.  
  6. Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
  7. ---
  8. configs/tinker-s-rk3288_defconfig | 2 ++
  9. 1 file changed, 2 insertions(+)
  10.  
  11. diff --git a/configs/tinker-s-rk3288_defconfig b/configs/tinker-s-rk3288_defconfig
  12. index 4925b14..db51c77 100644
  13. --- a/configs/tinker-s-rk3288_defconfig
  14. +++ b/configs/tinker-s-rk3288_defconfig
  15. @@ -5,6 +5,8 @@ CONFIG_SPL_GPIO_SUPPORT=y
  16. CONFIG_SYS_MALLOC_F_LEN=0x4000
  17. CONFIG_ROCKCHIP_RK3288=y
  18. CONFIG_TARGET_TINKER_RK3288=y
  19. +CONFIG_ENV_SIZE=0x20000
  20. +CONFIG_ENV_OFFSET=0x800000
  21. CONFIG_SPL_STACK_R_ADDR=0x800000
  22. CONFIG_NR_DRAM_BANKS=1
  23. CONFIG_SPL_SIZE_LIMIT=307200
  24. --
  25. 2.7.4
  26.  
  27.  
  28.  
  29. From 12ea2f3f1401b0fa81e2ebe00034c9d8f739ba9b Mon Sep 17 00:00:00 2001
  30. From: Marek Belisko <marek.belisko@open-nandra.com>
  31. Date: Mon, 8 Nov 2021 17:18:39 +0100
  32. Subject: [PATCH] 12 Signed-off-by: Marek Belisko
  33. <marek.belisko@open-nandra.com>
  34.  
  35. ---
  36. include/configs/tinker_rk3288.h | 3 +++
  37. 1 file changed, 3 insertions(+)
  38.  
  39. diff --git a/include/configs/tinker_rk3288.h b/include/configs/tinker_rk3288.h
  40. index f8a55a2..62ab9a1 100644
  41. --- a/include/configs/tinker_rk3288.h
  42. +++ b/include/configs/tinker_rk3288.h
  43. @@ -20,4 +20,7 @@
  44.  
  45. #define CONFIG_SYS_MMC_ENV_DEV 1
  46.  
  47. +#define CONFIG_BOOTCOUNT_LIMIT
  48. +#define CONFIG_SYS_REDUNDAND_ENVIRONMENT
  49. +#define CONFIG_BOOTCOUNT_ENV
  50. #endif
  51. --
  52. 2.7.4
  53.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement