150-goflexhome.patch 794 B

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