150-goflexhome.patch 952 B

123456789101112131415161718192021222324252627282930
  1. Index: u-boot-2014.10/include/configs/goflexhome.h
  2. ===================================================================
  3. --- u-boot-2014.10.orig/include/configs/goflexhome.h
  4. +++ u-boot-2014.10/include/configs/goflexhome.h
  5. @@ -96,20 +96,18 @@
  6. */
  7. #define CONFIG_BOOTCOMMAND \
  8. "setenv bootargs ${console} ${mtdparts} ${bootargs_root}; " \
  9. - "ubi part root; " \
  10. - "ubifsmount ubi:root; " \
  11. - "ubifsload 0x800000 ${kernel}; " \
  12. - "bootm 0x800000"
  13. + "ubi part ubi; " \
  14. + "ubi read 0x800000 kernel; " \
  15. + "bootz 0x800000"
  16. #define CONFIG_MTDPARTS \
  17. - "mtdparts=orion_nand:1m(uboot),6M(uImage),-(root)\0"
  18. + "mtdparts=orion_nand:1m(uboot),255m(ubi)\0"
  19. #define CONFIG_EXTRA_ENV_SETTINGS \
  20. "console=console=ttyS0,115200\0" \
  21. "mtdids=nand0=orion_nand\0" \
  22. "mtdparts="CONFIG_MTDPARTS \
  23. - "kernel=/boot/uImage\0" \
  24. - "bootargs_root=ubi.mtd=root root=ubi0:root rootfstype=ubifs ro\0"
  25. + "bootargs_root=\0"
  26. /*
  27. * Ethernet Driver configuration