4 The source for omap3som encompases the DM3730 SOM-LV and DM3730 Torpedo platforms.
6 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.
8 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.
10 Integrating the SOM-LV Device Tree into U-Boot
11 ==============================================
13 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.
15 CONFIG_DEFAULT_DEVICE_TREE="logicpd-som-lv-37xx-devkit"
18 make omap3_logic_defconfig
20 Falcon Mode: FAT SD cards
21 =========================
23 In this case the additional file is written to the filesystem. In this
24 example we assume that the uImage and device tree to be used are already on
25 the FAT filesystem (only the uImage MUST be for this to function
26 afterwards) along with a Falcon Mode aware MLO and the FAT partition has
27 already been created and marked bootable:
30 # Load kernel and device tree into memory, perform export
31 U-Boot # fatload mmc 0 ${loadaddr} uImage
33 U-Boot # setenv optargs quiet
35 U-Boot # run common_bootargs
36 U-Boot # spl export fdt ${loadaddr} - ${fdtaddr}
38 This will print a number of lines and then end with something like:
39 Loading Device Tree to 8dec9000, end 8dee0295 ... OK
41 So then note the starting address and write the args to mmc/sd:
43 U-Boot # fatwrite mmc 0:1 0x8dec9000 args 0x20000
45 The size of 0x20000 matches the CMD_SPL_WRITE_SIZE.
50 In this case the additional data is written to another partition of the
51 NAND. In this example we assume that the uImage and device tree to be are
52 already located on the NAND somewhere (such as filesystem or mtd partition)
53 along with a Falcon Mode aware MLO written to the correct locations for
54 booting and mtdparts have been configured correctly for the board:
56 U-Boot # nand read ${loadaddr} kernel
57 U-Boot # load nand rootfs ${fdtaddr} /boot/am335x-evm.dtb
59 U-Boot # run common_bootargs
60 U-Boot # spl export fdt ${loadaddr} - ${fdtaddr}
61 U-Boot # nand erase.part u-boot-spl-os
62 U-Boot # nand write ${fdtaddr} u-boot-spl-os