README 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. Summary
  2. =======
  3. The source for omap3som encompases the DM3730 SOM-LV and DM3730 Torpedo platforms.
  4. By default, the Torpedo Device Tree is integrated into U-Boot,but the MMC controller, GPIO and I2C controllers are the same, so for the purposes of loading U-Boot, it should be sufficient. However this will display the Model as "LogicPD Zoom DM3730 Torpedo + Wireless Development Kit" upon boot.
  5. The actual board remains autodetected and the Board will read "DM37xx SOM LV" when used on the DM37 SOM-LV. The device tree loaded with Linux is also correct.
  6. Integrating the SOM-LV Device Tree into U-Boot
  7. ==============================================
  8. This step is optional, but should you want to change the default to the SOM-LV, locate the configs/omap3_logic_defconfig file and make the following change.
  9. CONFIG_DEFAULT_DEVICE_TREE="logicpd-som-lv-37xx-devkit"
  10. make distclean
  11. make omap3_logic_defconfig
  12. Falcon Mode: FAT SD cards
  13. =========================
  14. In this case the additional file is written to the filesystem. In this
  15. example we assume that the uImage and device tree to be used are already on
  16. the FAT filesystem (only the uImage MUST be for this to function
  17. afterwards) along with a Falcon Mode aware MLO and the FAT partition has
  18. already been created and marked bootable:
  19. U-Boot # mmc rescan
  20. # Load kernel and device tree into memory, perform export
  21. U-Boot # fatload mmc 0 ${loadaddr} uImage
  22. U-Boot # run loadfdt
  23. U-Boot # setenv optargs quiet
  24. U-Boot # run mmcargs
  25. U-Boot # run common_bootargs
  26. U-Boot # spl export fdt ${loadaddr} - ${fdtaddr}
  27. This will print a number of lines and then end with something like:
  28. Loading Device Tree to 8dec9000, end 8dee0295 ... OK
  29. So then note the starting address and write the args to mmc/sd:
  30. U-Boot # fatwrite mmc 0:1 0x8dec9000 args 0x20000
  31. The size of 0x20000 matches the CMD_SPL_WRITE_SIZE.
  32. Falcon Mode: NAND
  33. =================
  34. In this case the additional data is written to another partition of the
  35. NAND. In this example we assume that the uImage and device tree to be are
  36. already located on the NAND somewhere (such as filesystem or mtd partition)
  37. along with a Falcon Mode aware MLO written to the correct locations for
  38. booting and mtdparts have been configured correctly for the board:
  39. U-Boot # nand read ${loadaddr} kernel
  40. U-Boot # load nand rootfs ${fdtaddr} /boot/am335x-evm.dtb
  41. U-Boot # run nandargs
  42. U-Boot # run common_bootargs
  43. U-Boot # spl export fdt ${loadaddr} - ${fdtaddr}
  44. U-Boot # nand erase.part u-boot-spl-os
  45. U-Boot # nand write ${fdtaddr} u-boot-spl-os