This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File Name: board/ti/am335x/u-boot.lds | |
-> This file talks about text, data sections of image file like | |
.text, | |
.data, | |
.rodata, | |
.bss, | |
.dynsym [Dynamic symbols] etc.. | |
. = 0x00000000; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File Name: board/ti/am335x/mux.c | |
-> This file do pin muxing of uart0 to uart5, I2C0 & I2C1, MMC0 & MMC1, NAND muxing. | |
static struct module_pin_mux uart1_pin_mux[] = { | |
{OFFSET(uart1_rxd), (MODE(0) | PULLUP_EN | RXACTIVE)}, /* UART1_RXD */ | |
{OFFSET(uart1_txd), (MODE(0) | PULLUDEN)}, /* UART1_TXD */ | |
{-1}, | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File Name: board/ti/am335x/board.c | |
TPS65217 is chip which supplies power to Am335x. | |
Adding fatures of TPS65217 IC | |
The TPS65217 is an optimized and highly integrated power management solution for the AM335x | |
processor. Features of the TPS65217 include: | |
• Power path management for Lithium-ion battery, USB, and AC inputs | |
• Linear Battery Charger |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
file name: arch/arm/cpu/armv7/am33xx/mem.c | |
void gpmc_init(void) | |
{ | |
/* putting a blanket check on GPMC based on ZeBu for now */ | |
gpmc_cfg = (struct gpmc *)GPMC_BASE; | |
#if defined(CONFIG_CMD_NAND) | |
const u32 *gpmc_config = NULL; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File Name: arch/arm/cpu/armv7/am33xx/emif4.c | |
int dram_init(void) | |
{ | |
/* dram_init must store complete ramsize in gd->ram_size */ | |
gd->ram_size = get_ram_size( | |
(void *)CONFIG_SYS_SDRAM_BASE, | |
CONFIG_MAX_RAM_BANK_SIZE); | |
return 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Template files presented before porting MMC/SD, Ethernet, NAND & NOR. | |
1.arch/arm/cpu/armv7/am33xx/board.c | |
2.arch/arm/cpu/armv7/am33xx/emif4.c | |
3.arch/arm/cpu/armv7/am33xx/mem.c | |
4.board/ti/am33xx/board.c | |
5.board/ti/am33xx/mux.c | |
6.board/ti/am33xx/uboot.lds | |
7.boards.cfg | |
8.include /configs/am335x_evm.h |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The OS functions supported at kernel level are, of course, only those functions programmed inside it: | |
kmalloc(), kfree(): memory management | |
cli(), sti(): enable/disable interrupts | |
add_timer(), init_timer(), del_timer(): timing management | |
request_irq(), free_irq(): irq management |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Writing I2C Platform Driver and Code Flow: | |
File Name: arch/arm/mach-versatile/versatile-pb.c | |
Function Name: versatile_init(); -----------> arch/arm/mach-versatile/core.c --------------> | |
platform_device_register(&versatile_i2c_device); | |
Machine File is registering i2c device with function name platform_device_register() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Template Files : arch/arm/cpu/armv7/am33xx/board.c | |
arch/arm/cpu/armv7/am33xx/emif4.c | |
arch/arm/cpu/armv7/am33xx/mem.c | |
board/ti/am335x/board.c | |
board/ti/am335x/mux.c | |
board/ti/am335x/uboot.lds | |
boards.cfg | |
include/configs/am335x_evm.h | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Files to change: arch/arm/board-am335xevm.c | |
------------------------------------------------------------------------- | |
+#include <linux/input/ti_tsc.h> | |
+#include <linux/mfd/ti_tscadc.h> | |
------------------------------------------------------------------------- | |
Header files incluing for structure ti_tsc variables and | |
register offset values of the device "TFC_S9700RTWV35TR_01B" | |
------------------------------------------------------------------------- |