uboot change based on DM368, for BDI3000 bootup

来源:互联网 发布:php集成环境 编辑:程序博客网 时间:2024/06/05 05:11

u-boot Version: 1.6.0

1. u-boot/drivers/serial/serial.c  

Function: calc_divisor()

Line: 157

Modification:

   return 0x0d;

Description: The original way to calculate serial baudrate is wrong. On board, the Uart0 clk_in is fixed as 24M.


2. u-boot/include/configs/davinci_dm368_ipnc.h

Line:  68

Modification:

Make sure the CONFIG_CONS_INDEX equals to 1

Description: DM368 utilzie NS16550 COM1 as its console port.


3. About configuration file for BDI.

As the uboot do not initialize the UART, we have to init UART in BDI config,  therefore, basically we need to config:

1) PLL

2) DDR

3) UART

4) (Flash)

原创粉丝点击