0066-scripts-om-fwupgradecfg-gen.sh-add-support-for-the-OM5P-AC.patch 944 B

1234567891011121314151617181920212223242526272829303132
  1. From: Sven Eckelmann <sven.eckelmann@open-mesh.com>
  2. Date: Sat, 9 Apr 2016 10:25:54 +0000
  3. Subject: scripts/om-fwupgradecfg-gen.sh: add support for the OM5P-AC
  4. Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
  5. Backport of r49143
  6. Forwarded: https://patchwork.ozlabs.org/patch/624193/
  7. diff --git a/scripts/om-fwupgradecfg-gen.sh b/scripts/om-fwupgradecfg-gen.sh
  8. index e208e6d..6c3b74c 100644
  9. --- a/scripts/om-fwupgradecfg-gen.sh
  10. +++ b/scripts/om-fwupgradecfg-gen.sh
  11. @@ -7,7 +7,7 @@
  12. #
  13. usage() {
  14. - echo "Usage: $0 <OM2P|OM5P|MR600|MR900|MR1750> <out file path> <kernel path> <rootfs path>"
  15. + echo "Usage: $0 <OM2P|OM5P|OM5PAC|MR600|MR900|MR1750> <out file path> <kernel path> <rootfs path>"
  16. rm -f $CFG_OUT
  17. exit 1
  18. }
  19. @@ -26,7 +26,7 @@ case $CE_TYPE in
  20. FLASH_BS=262144
  21. MD5_SKIP_BLOCKS=1
  22. ;;
  23. - OM5P|MR600|MR900|MR1750)
  24. + OM5P|OM5PAC|MR600|MR900|MR1750)
  25. MAX_PART_SIZE=7808
  26. KERNEL_FLASH_ADDR=0xb0000
  27. FLASH_BS=65536