130-ib62x0.patch 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. --- a/include/configs/ib62x0.h
  2. +++ b/include/configs/ib62x0.h
  3. @@ -62,27 +62,22 @@
  4. */
  5. #define CONFIG_BOOTCOMMAND \
  6. "setenv bootargs ${console} ${mtdparts} ${bootargs_root}; " \
  7. - "ubi part root; " \
  8. - "ubifsmount ubi:rootfs; " \
  9. - "ubifsload 0x800000 ${kernel}; " \
  10. - "ubifsload 0x700000 ${fdt}; " \
  11. - "ubifsumount; " \
  12. - "fdt addr 0x700000; fdt resize; fdt chosen; " \
  13. - "bootz 0x800000 - 0x700000"
  14. + "ubi part ubi; " \
  15. + "ubi read 0x800000 kernel; " \
  16. + "bootm 0x800000"
  17. #define CONFIG_MTDPARTS \
  18. "mtdparts=orion_nand:" \
  19. "0xe0000@0x0(uboot)," \
  20. "0x20000@0xe0000(uboot_env)," \
  21. - "-@0x100000(root)\0"
  22. + "0x100000@0x100000(second_stage_uboot)," \
  23. + "-@0x200000(ubi)\0"
  24. #define CONFIG_EXTRA_ENV_SETTINGS \
  25. "console=console=ttyS0,115200\0" \
  26. "mtdids=nand0=orion_nand\0" \
  27. "mtdparts="CONFIG_MTDPARTS \
  28. - "kernel=/boot/zImage\0" \
  29. - "fdt=/boot/ib62x0.dtb\0" \
  30. - "bootargs_root=ubi.mtd=2 root=ubi0:rootfs rootfstype=ubifs rw\0"
  31. + "bootargs_root=\0"
  32. /*
  33. * Ethernet driver configuration