README.mips 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. Notes for the MIPS architecture port of U-Boot
  2. Toolchains
  3. ----------
  4. http://www.denx.de/wiki/DULG/ELDK
  5. ELDK < DULG < DENX
  6. http://www.emdebian.org/crosstools.html
  7. Embedded Debian -- Cross-development toolchains
  8. http://buildroot.uclibc.org/
  9. Buildroot
  10. Known Issues
  11. ------------
  12. * Cache incoherency issue caused by do_bootelf_exec() at cmd_elf.c
  13. Cache will be disabled before entering the loaded ELF image without
  14. writing back and invalidating cache lines. This leads to cache
  15. incoherency in most cases, unless the code gets loaded after U-Boot
  16. re-initializes the cache. The more common uImage 'bootm' command does
  17. not suffer this problem.
  18. [workaround] To avoid this cache incoherency,
  19. 1) insert flush_cache(all) before calling dcache_disable(), or
  20. 2) fix dcache_disable() to do both flushing and disabling cache.
  21. * Note that Linux users need to kill dcache_disable() in do_bootelf_exec()
  22. or override do_bootelf_exec() not to disable I-/D-caches, because most
  23. Linux/MIPS ports don't re-enable caches after entering kernel_entry.
  24. TODOs
  25. -----
  26. * Probe CPU types, I-/D-cache and TLB size etc. automatically
  27. * Secondary cache support missing
  28. * Centralize the link directive files
  29. * Initialize TLB entries redardless of their use
  30. * R2000/R3000 class parts are not supported
  31. * Limited testing across different MIPS variants
  32. * Due to cache initialization issues, the DRAM on board must be
  33. initialized in board specific assembler language before the cache init
  34. code is run -- that is, initialize the DRAM in lowlevel_init().
  35. * get rid of CONFIG_MANUAL_RELOC
  36. * centralize/share more CPU code of MIPS32, MIPS64 and XBurst
  37. * support Qemu Malta