README 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. Summary
  2. =======
  3. The source for omap3logic.c encompases the OMAP35 and DM3730 SOM-LV and DM3730 Torpedo platforms, but there are device trees custom taylored to each board.
  4. omap3_logic_defconfig = DM37 Torpedo / Torpedo + Wireless
  5. omap35_logic_defconfig = OMAP35 Torpedo
  6. omap3_logic_somlv_defconfig = DM37 SOM-LV
  7. omap35_logic_somlv_defconfig = OMAP35 SOM-LV
  8. The device tree included with each of the defconfig files will also direct the board as to which dtb file to load when loading the kernel, so it is not
  9. recomended to mix and match the defconfig files.
  10. Falcon Mode: FAT SD cards
  11. =========================
  12. In this case the additional file is written to the filesystem. In this
  13. example we assume that the uImage and device tree to be used are already on
  14. the FAT filesystem (only the uImage MUST be for this to function
  15. afterwards) along with a Falcon Mode aware MLO and the FAT partition has
  16. already been created and marked bootable:
  17. U-Boot # mmc rescan
  18. # Load kernel and device tree into memory, perform export
  19. U-Boot # fatload mmc 0 ${loadaddr} uImage
  20. U-Boot # run loadfdt
  21. U-Boot # setenv optargs quiet
  22. U-Boot # run mmcargs
  23. U-Boot # run common_bootargs
  24. U-Boot # spl export fdt ${loadaddr} - ${fdtaddr}
  25. This will print a number of lines and then end with something like:
  26. Loading Device Tree to 8dec9000, end 8dee0295 ... OK
  27. So then note the starting address and write the args to mmc/sd:
  28. U-Boot # fatwrite mmc 0:1 0x8dec9000 args 0x20000
  29. The size of 0x20000 matches the CMD_SPL_WRITE_SIZE.
  30. Falcon Mode: NAND
  31. =================
  32. In this case the additional data is written to another partition of the
  33. NAND. In this example we assume that the uImage and device tree to be are
  34. already located on the NAND somewhere (such as filesystem or mtd partition)
  35. along with a Falcon Mode aware MLO written to the correct locations for
  36. booting and mtdparts have been configured correctly for the board:
  37. U-Boot # nand read ${loadaddr} kernel
  38. U-Boot # load nand rootfs ${fdtaddr} /boot/am335x-evm.dtb
  39. U-Boot # run nandargs
  40. U-Boot # run common_bootargs
  41. U-Boot # spl export fdt ${loadaddr} - ${fdtaddr}
  42. U-Boot # nand erase.part u-boot-spl-os
  43. U-Boot # nand write ${fdtaddr} u-boot-spl-os