估计和旧的UBL,UBOOT没关系, IPNC V5.1 的内核 2.6.37的版本, 怎么差异那么大。 搞得不适应。
1. 在dvsdk_ipnctoolsipnc_psp_03_21_00_04kernelarcharmmach-davinci 目录下的 dm365.c文件中,关于UART的配置是:
static struct plat_serial8250_port dm365_serial_platform_data[] = [
[
.mapbase = DAVINCI_UART0_BASE,
.irq = IRQ_UARTINT0,
.flags = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST |
UPF_IOREMAP,
.iotype = UPIO_MEM,
.regshift = 2,
],
[
.mapbase = DM365_UART1_BASE,
.irq = IRQ_UARTINT1,
.flags = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST |
UPF_IOREMAP,
.iotype = UPIO_MEM,
.regshift = 2,
],
[
.flags = 0
],
];
而在 V3.0 内核中是:
static struct plat_serial8250_port serial_platform_data[] = [
[
.membase = (char *) IO_ADDRESS(DAVINCI_UART0_BASE),
.mapbase = (unsigned long) DAVINCI_UART0_BASE,
.irq = IRQ_UARTINT0,
.flags = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST,
.iotype = UPIO_MEM,
.regshift = 2,
.uartclk = 24000000,
],
[
.membase = (char *) IO_ADDRESS(DM365_UART1_BASE),
.mapbase = (unsigned long) DM365_UART1_BASE,
.irq = IRQ_UARTINT1,
.flags = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST,
.iotype = UPIO_MEM,
.regshift = 2,
.uartclk = 121500000,
],
[
.flags = 0
],
]; 很明显 V5.1的串口配置少了 uartclk 等,这个不知道是否有影响呢?
2. 我在IPNCV5.1 版本的make menuconfig 后,里面system type里没有看到关于DAVINCI的芯片组选项。 这个是怎么回事呢?
谢谢
估计和旧的UBL,UBOOT没关系, IPNC V5.1 的内核 2.6.37的版本, 怎么差异那么大。 搞得不适应。
1. 在dvsdk_ipnctoolsipnc_psp_03_21_00_04kernelarcharmmach-davinci 目录下的 dm365.c文件中,关于UART的配置是:
static struct plat_serial8250_port dm365_serial_platform_data[] = [
[
.mapbase = DAVINCI_UART0_BASE,
.irq = IRQ_UARTINT0,
.flags = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST |
UPF_IOREMAP,
.iotype = UPIO_MEM,
.regshift = 2,
],
[
.mapbase = DM365_UART1_BASE,
.irq = IRQ_UARTINT1,
.flags = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST |
UPF_IOREMAP,
.iotype = UPIO_MEM,
.regshift = 2,
],
[
.flags = 0
],
];
而在 V3.0 内核中是:
static struct plat_serial8250_port serial_platform_data[] = [
[
.membase = (char *) IO_ADDRESS(DAVINCI_UART0_BASE),
.mapbase = (unsigned long) DAVINCI_UART0_BASE,
.irq = IRQ_UARTINT0,
.flags = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST,
.iotype = UPIO_MEM,
.regshift = 2,
.uartclk = 24000000,
],
[
.membase = (char *) IO_ADDRESS(DM365_UART1_BASE),
.mapbase = (unsigned long) DM365_UART1_BASE,
.irq = IRQ_UARTINT1,
.flags = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST,
.iotype = UPIO_MEM,
.regshift = 2,
.uartclk = 121500000,
],
[
.flags = 0
],
]; 很明显 V5.1的串口配置少了 uartclk 等,这个不知道是否有影响呢?
2. 我在IPNCV5.1 版本的make menuconfig 后,里面system type里没有看到关于DAVINCI的芯片组选项。 这个是怎么回事呢?
谢谢
举报