SDK 7.0 typical configurations¶
LCD porting¶
Refer to:LCD porting
Installing Graphics SDK¶
Refer to: Installing Graphics SDK
Change u-boot default Ethernet port to Gbit Ethernet¶
Default ethernet port is defined in the below struct in board/ti/var-som-am33/board.c Changing the order of the definition of the ports determines the default port, when the last defined port is the default.
static struct cpsw_slave_data cpsw_slaves[] = {
{
.slave_reg_ofs = 0x308,
.sliver_reg_ofs = 0xdc0,
.phy_addr = 7,
},
{
.slave_reg_ofs = 0x208, //Default u-boot port is 10/100 port
.sliver_reg_ofs = 0xd80,
.phy_addr = 0,
},
}
;
Change USB-OTG port configuration to Host-only¶
From SW perspective, the developer should do as follows:
- Download a VAR-SOM-AM33 kernel out-of-tree.
- Update var-som-am33.dts, as follows:
$ gedit arch/arm/boot/dts/var-som-am33.dts
...
usb@47401800 {
status = "okay";
dr_mode = "host"; /* <<-- Add this line */
};
...
- Build var-som-am33.dtb and replace it on flash / NFS.
Once the var-som-am33.dtb has been replaced on flash / NFS - The USB-OTG port will function in Host-only mode.