Other Parts Discussed in Thread:TPS65910
最近调试AM335X GPMC FPGA驱动,遇到问题,不知道有没有前辈遇到过,希望能够帮忙解決一下,谢谢!
问题说明如下:
内核版本3.14,使用设备树配置GPMC片选CS2
设备树文件如下:
/*
* Copyright (C) 2012 Texas Instruments Incorporated – http://www.ti.com/
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
/dts-v1/;
#include "am33xx.dtsi"
#include "am33xx-clocks.dtsi"
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/pwm/pwm.h>
/*———————————————————————————————————————
base
———————————————————————————————————————–*/
/ {
model = "TI AM335x SBC";
compatible = "ti,am335x-sbc", "ti,am335x-evm", "ti,am33xx";
cpus {
cpu@0 {
cpu0-supply = <&vdd1_reg>;
};
};
memory {
device_type = "memory";
reg = <0x80000000 0x10000000>;
};
};
/*———————————————————————————————————————
pins
———————————————————————————————————————–*/
&am33xx_pinmux { pinctrl-names = "default";
pinctrl-0 = <&misc_pins &gpio_pins>;
gpio_pins: pinmux_gpio_pins {
pinctrl-single,pins = <
0x17c (PIN_OUTPUT | MUX_MODE7)
0x178 (PIN_OUTPUT | MUX_MODE7)
>;
};
misc_pins: pinmux_def_pins {
pinctrl-single,pins = <
/* usb1_drvbus */
0x234 (PIN_OUTPUT | MUX_MODE0) /* usb1_drvbus */
/* lcd backlight */
0x158 (PIN_OUTPUT | MUX_MODE7) /* spi0_d1.gpio0_4 */
/* led_status */
/* SPI0_CS0:GPIO0_5 */
0x15c (PIN_OUTPUT | MUX_MODE7) 0x64 (PIN_OUTPUT_PULLUP | MUX_MODE7)
>;
};
i2c0_pins: pinmux_i2c0_pins {
pinctrl-single,pins = <
0x188 (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c0_sda.i2c0_sda */
0x18c (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c0_scl.i2c0_scl */
>;
};
uart0_pins: pinmux_uart0_pins {
pinctrl-single,pins = <
0x170 (PIN_INPUT_PULLUP | MUX_MODE0) /* uart0_rxd.uart0_rxd */
0x174 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* uart0_txd.uart0_txd */
>;
};
uart1_pins: pinmux_uart1_pins {
pinctrl-single,pins = <
0x180 (PIN_INPUT_PULLUP | MUX_MODE0) /* uart1_rxd.uart1_rxd */
0x184 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* uart1_txd.uart1_txd */
>;
};
mmc1_pins_default: pinmux_mmc1_pins {
pinctrl-single,pins = <
0x0F0 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat3.mmc0_dat3 */
0x0F4 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat2.mmc0_dat2 */
0x0F8 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat1.mmc0_dat1 */
0x0FC (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat0.mmc0_dat0 */
0x100 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_clk.mmc0_clk */
0x104 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_cmd.mmc0_cmd */
0x1A4 (PIN_INPUT_PULLUP | MUX_MODE7) /* mcasp0_fsr */
>;
};
mmc1_pins_sleep: pinmux_mmc1_pins_sleep {
pinctrl-single,pins = <
0x0F0 (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x0F4 (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x0F8 (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x0FC (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x100 (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x104 (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x1A4 (PIN_INPUT_PULLDOWN | MUX_MODE7)
>;
};
cpsw_default: cpsw_default {
pinctrl-single,pins = <
0x114 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txen.rgmii1_tctl */
0x118 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxdv.rgmii1_rctl */
0x11c (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd3.rgmii1_td3 */
0x120 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd2.rgmii1_td2 */
0x124 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd1.rgmii1_td1 */
0x128 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd0.rgmii1_td0 */
0x12c (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txclk.rgmii1_tclk */
0x130 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxclk.rgmii1_rclk */
0x134 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd3.rgmii1_rd3 */
0x138 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd2.rgmii1_rd2 */
0x13c (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd1.rgmii1_rd1 */
0x140 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd0.rgmii1_rd0 */
>;
};
cpsw_sleep: cpsw_sleep {
pinctrl-single,pins = <
0x114 (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x118 (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x11c (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x120 (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x124 (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x128 (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x12c (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x130 (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x134 (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x138 (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x13c (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x140 (PIN_INPUT_PULLDOWN | MUX_MODE7)
>;
};
nandflash_pins_default: nandflash_pins_default {
pinctrl-single,pins = <
0x0 (PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad0.gpmc_ad0 */
0x4 (PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad1.gpmc_ad1 */
0x8 (PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad2.gpmc_ad2 */
0xc (PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad3.gpmc_ad3 */
0x10 (PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad4.gpmc_ad4 */
0x14 (PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad5.gpmc_ad5 */
0x18 (PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad6.gpmc_ad6 */
0x1c (PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad7.gpmc_ad7 */
0x70 (PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_wait0.gpmc_wait0 */
0x74 (PIN_INPUT_PULLUP | MUX_MODE7) /* gpmc_wpn.gpio0_30 */
0x7c (PIN_OUTPUT | MUX_MODE0) /* gpmc_csn0.gpmc_csn0 */
0x90 (PIN_OUTPUT | MUX_MODE0) /* gpmc_advn_ale.gpmc_advn_ale */
0x94 (PIN_OUTPUT | MUX_MODE0) /* gpmc_oen_ren.gpmc_oen_ren */
0x98 (PIN_OUTPUT | MUX_MODE0) /* gpmc_wen.gpmc_wen */
0x9c (PIN_OUTPUT | MUX_MODE0) /* gpmc_be0n_cle.gpmc_be0n_cle */
>;
};
nandflash_pins_sleep: nandflash_pins_sleep {
pinctrl-single,pins = <
0x0 (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x4 (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x8 (PIN_INPUT_PULLDOWN | MUX_MODE7)
0xc (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x10 (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x14 (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x18 (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x1c (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x70 (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x74 (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x7c (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x90 (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x94 (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x98 (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x9c (PIN_INPUT_PULLDOWN | MUX_MODE7)
>;
};
fpga_pins_default: fpga_pins_default {
pinctrl-single,pins = <
AM33XX_IOPAD(0x86c, PIN_OUTPUT | MUX_MODE0) /* (V17) gpmc_a11.gpmc_a11 */
AM33XX_IOPAD(0x868, PIN_OUTPUT | MUX_MODE0) /* (T16) gpmc_a10.gpmc_a10 */
AM33XX_IOPAD(0x864, PIN_OUTPUT | MUX_MODE0) /* (U16) gpmc_a9.gpmc_a9 */
AM33XX_IOPAD(0x860, PIN_OUTPUT | MUX_MODE0) /* (V16) gpmc_a8.gpmc_a8 */
AM33XX_IOPAD(0x85c, PIN_OUTPUT | MUX_MODE0) /* (T15) gpmc_a7.gpmc_a7 */
AM33XX_IOPAD(0x858, PIN_OUTPUT | MUX_MODE0) /* (U15) gpmc_a6.gpmc_a6 */
AM33XX_IOPAD(0x854, PIN_OUTPUT | MUX_MODE0) /* (V15) gpmc_a5.gpmc_a5 */
AM33XX_IOPAD(0x850, PIN_OUTPUT | MUX_MODE0) /* (R14) gpmc_a4.gpmc_a4 */
AM33XX_IOPAD(0x84c, PIN_OUTPUT | MUX_MODE0) /* (T14) gpmc_a3.gpmc_a3 */
AM33XX_IOPAD(0x848, PIN_OUTPUT | MUX_MODE0) /* (U14) gpmc_a2.gpmc_a2 */
AM33XX_IOPAD(0x844, PIN_OUTPUT | MUX_MODE0) /* (V14) gpmc_a1.gpmc_a1 */
AM33XX_IOPAD(0x840, PIN_OUTPUT | MUX_MODE0) /* (R13) gpmc_a0.gpmc_a0 */
AM33XX_IOPAD(0x81c, PIN_INPUT | MUX_MODE0) /* (T9) gpmc_ad7.gpmc_ad7 */
AM33XX_IOPAD(0x818, PIN_INPUT | MUX_MODE0) /* (R9) gpmc_ad6.gpmc_ad6 */
AM33XX_IOPAD(0x814, PIN_INPUT | MUX_MODE0) /* (V8) gpmc_ad5.gpmc_ad5 */
AM33XX_IOPAD(0x810, PIN_INPUT | MUX_MODE0) /* (U8) gpmc_ad4.gpmc_ad4 */
AM33XX_IOPAD(0x80c, PIN_INPUT | MUX_MODE0) /* (T8) gpmc_ad3.gpmc_ad3 */
AM33XX_IOPAD(0x808, PIN_INPUT | MUX_MODE0) /* (R8) gpmc_ad2.gpmc_ad2 */
AM33XX_IOPAD(0x804, PIN_INPUT | MUX_MODE0) /* (V7) gpmc_ad1.gpmc_ad1 */
AM33XX_IOPAD(0x800, PIN_INPUT | MUX_MODE0) /* (U7) gpmc_ad0.gpmc_ad0 */
AM33XX_IOPAD(0x874, PIN_OUTPUT | MUX_MODE0) /* (U17) gpmc_wpn.gpmc_wpn */
AM33XX_IOPAD(0x88c, PIN_INPUT | MUX_MODE0) /* (V12) gpmc_clk.gpmc_clk */
AM33XX_IOPAD(0x894, PIN_OUTPUT | MUX_MODE0) /* (T7) gpmc_oen_ren.gpmc_oen_ren */
AM33XX_IOPAD(0x898, PIN_OUTPUT | MUX_MODE0) /* (U6) gpmc_wen.gpmc_wen */
AM33XX_IOPAD(0x880, PIN_OUTPUT | MUX_MODE0) /* (U9) gpmc_csn1.gpmc_csn1 */
AM33XX_IOPAD(0x884, PIN_OUTPUT | MUX_MODE0) /* (V9) gpmc_csn2.gpmc_csn2 */
>;
};
fpga_pins_sleep: fpga_pins_sleep {
pinctrl-single,pins = <
AM33XX_IOPAD(0x86c, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (V17) gpmc_a11.gpmc_a11 */
AM33XX_IOPAD(0x868, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T16) gpmc_a10.gpmc_a10 */
AM33XX_IOPAD(0x864, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U16) gpmc_a9.gpmc_a9 */
AM33XX_IOPAD(0x860, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (V16) gpmc_a8.gpmc_a8 */
AM33XX_IOPAD(0x85c, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T15) gpmc_a7.gpmc_a7 */
AM33XX_IOPAD(0x858, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U15) gpmc_a6.gpmc_a6 */
AM33XX_IOPAD(0x854, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (V15) gpmc_a5.gpmc_a5 */
AM33XX_IOPAD(0x850, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (R14) gpmc_a4.gpmc_a4 */
AM33XX_IOPAD(0x84c, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T14) gpmc_a3.gpmc_a3 */
AM33XX_IOPAD(0x848, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U14) gpmc_a2.gpmc_a2 */
AM33XX_IOPAD(0x844, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (V14) gpmc_a1.gpmc_a1 */
AM33XX_IOPAD(0x840, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (R13) gpmc_a0.gpmc_a0 */
AM33XX_IOPAD(0x81c, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T9) gpmc_ad7.gpmc_ad7 */
AM33XX_IOPAD(0x818, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (R9) gpmc_ad6.gpmc_ad6 */
AM33XX_IOPAD(0x814, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (V8) gpmc_ad5.gpmc_ad5 */
AM33XX_IOPAD(0x810, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U8) gpmc_ad4.gpmc_ad4 */
AM33XX_IOPAD(0x80c, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T8) gpmc_ad3.gpmc_ad3 */
AM33XX_IOPAD(0x808, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (R8) gpmc_ad2.gpmc_ad2 */
AM33XX_IOPAD(0x804, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (V7) gpmc_ad1.gpmc_ad1 */
AM33XX_IOPAD(0x800, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U7) gpmc_ad0.gpmc_ad0 */
AM33XX_IOPAD(0x874, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U17) gpmc_wpn.gpmc_wpn */
AM33XX_IOPAD(0x88c, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (V12) gpmc_clk.gpmc_clk */
AM33XX_IOPAD(0x894, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T7) gpmc_oen_ren.gpmc_oen_ren */
AM33XX_IOPAD(0x898, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U6) gpmc_wen.gpmc_wen */
AM33XX_IOPAD(0x880, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U9) gpmc_csn1.gpmc_csn1 */
AM33XX_IOPAD(0x884, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (V9) gpmc_csn2.gpmc_csn2 */
>;
};
};
/*———————————————————————————————————————
i2c
———————————————————————————————————————–*/
&i2c0 {
pinctrl-names = "default";
pinctrl-0 = <&i2c0_pins>;
status = "okay";
clock-frequency = <400000>;
tps: tps@2d {
reg = <0x2d>;
};
sgtl5000: sgtl5000@0a {
compatible = "ti,sgtl5000";
reg = <0x0a>;
clocks = <&mcasp0_fck>;
status = "okay";
};
};
/*———————————————————————————————————————
regulator
———————————————————————————————————————–*/
/ {
vbat: fixedregulator@0 {
compatible = "regulator-fixed";
regulator-name = "vbat";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-boot-on;
};
vcc5p: fixedregulator@1 {
compatible = "regulator-fixed";
regulator-name = "vcc_5p";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-always-on;
};
vcc3p3: fixedregulator@2 {
compatible = "regulator-fixed";
regulator-name = "vcc_3p3";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
};
};
#include "tps65910.dtsi"
&tps {
vcc1-supply = <&vbat>;
vcc2-supply = <&vbat>;
vcc3-supply = <&vbat>;
vcc4-supply = <&vbat>;
vcc5-supply = <&vbat>;
vcc6-supply = <&vbat>;
vcc7-supply = <&vbat>;
vccio-supply = <&vbat>;
regulators {
vrtc_reg: regulator@0 {
regulator-always-on;
};
vio_reg: regulator@1 {
regulator-always-on;
};
vdd1_reg: regulator@2 {
/* VDD_MPU voltage limits 0.95V – 1.325V with +/-4% tolerance */
regulator-name = "vdd_mpu";
regulator-min-microvolt = <912500>;
regulator-max-microvolt = <1378000>;
regulator-boot-on;
regulator-always-on;
};
vdd2_reg: regulator@3 {
/* VDD_CORE voltage limits 0.95V – 1.1V with +/-4% tolerance */
regulator-name = "vdd_core";
regulator-min-microvolt = <912500>;
regulator-max-microvolt = <1150000>;
regulator-boot-on;
regulator-always-on;
};
};
};
/*———————————————————————————————————————
uart
———————————————————————————————————————–*/
&uart0 {
pinctrl-names = "default";
pinctrl-0 = <&uart0_pins>;
status = "okay";
};
/*———————————————————————————————————————
enet
———————————————————————————————————————–*/
&mac {
pinctrl-names = "default", "sleep";
pinctrl-0 = <&cpsw_default>;
pinctrl-1 = <&cpsw_sleep>;
};
&cpsw_emac0 {
phy_id = <&davinci_mdio>, <4>;
phy-mode = "rgmii-txid";
};
/*———————————————————————————————————————
mmc
———————————————————————————————————————–*/
&mmc1 {
status = "okay";
vmmc-supply = <&vcc3p3>;
bus-width = <4>;
pinctrl-names = "default", "sleep";
pinctrl-0 = <&mmc1_pins_default>;
pinctrl-1 = <&mmc1_pins_sleep>;
cd-gpios = <&gpio3 19 GPIO_ACTIVE_HIGH>;
wp-gpios = <>;
};
/*———————————————————————————————————————
nandflash & FPGA
———————————————————————————————————————–*/
&elm {
status = "okay";
};
&gpmc {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&fpga_pins_default>;
ranges = <0 0 0x08000000 0x01000000>, /* CS0: NAND */
<2 0 0x02000000 0x01000000>; /* CS2: FPGA */
nand@0,0 {
reg = <0 0 0>; /* CS0, offset 0 */
ti,nand-ecc-opt = "bch8";
ti,elm-id = <&elm>;
nand-bus-width = <8>;
gpmc,device-width = <1>;
gpmc,sync-clk-ps = <0>;
gpmc,cs-on-ns = <0>;
gpmc,cs-rd-off-ns = <44>;
gpmc,cs-wr-off-ns = <44>;
gpmc,adv-on-ns = <6>;
gpmc,adv-rd-off-ns = <34>;
gpmc,adv-wr-off-ns = <44>;
gpmc,we-on-ns = <0>;
gpmc,we-off-ns = <40>;
gpmc,oe-on-ns = <0>;
gpmc,oe-off-ns = <54>;
gpmc,access-ns = <64>;
gpmc,rd-cycle-ns = <82>;
gpmc,wr-cycle-ns = <82>;
gpmc,wait-on-read = "true";
gpmc,wait-on-write = "true";
gpmc,bus-turnaround-ns = <0>;
gpmc,cycle2cycle-delay-ns = <0>;
gpmc,clk-activation-ns = <0>;
gpmc,wait-monitoring-ns = <0>;
gpmc,wr-access-ns = <40>;
gpmc,wr-data-mux-bus-ns = <0>;
/* MTD partition table */
/* All SPL-* partitions are sized to minimal length
* which can be independently programmable. For
* NAND flash this is equal to size of erase-block */
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "MLO";
reg = <0x00000000 0x00100000>;
};
partition@1 {
label = "U-Boot";
reg = <0x00100000 0x00100000>;
};
partition@2 {
label = "U-Boot-Env";
reg = <0x00200000 0x00100000>;
};
partition@3 {
label = "DTB";
reg = <0x00300000 0x00100000>;
};
partition@4 {
label = "Linux";
reg = <0x00400000 0x00600000>;
};
partition@5 {
label = "RootFs";
reg = <0x00a00000 0x1F600000>;
};
};
fpga@2,0 {
compatible = "cfi-flash";
linux,mtd-name= "intel,pf48f6000m0y1be";
reg = <2 0 0x01000000>;
#address-cells = <1>;
#size-cells = <1>;
bank-width = <1>;
/*gpmc,sync-read;*/
/*gpmc,sync-write;*/
gpmc,clk-activation-ns = <0>;
gpmc,mux-add-data = <0>;
gpmc,sync-clk-ps = <10000>;
gpmc,cs-on-ns = <0>;
gpmc,cs-rd-off-ns = <30>;
gpmc,cs-wr-off-ns = <30>;
gpmc,adv-on-ns = <0>;
gpmc,adv-rd-off-ns = <11>;
gpmc,adv-wr-off-ns = <11>;
gpmc,oe-on-ns = <54>;
gpmc,oe-off-ns = <168>;
gpmc,we-on-ns = <54>;
gpmc,we-off-ns = <168>;
gpmc,rd-cycle-ns = <186>;
gpmc,wr-cycle-ns = <186>;
gpmc,access-ns = <114>;
gpmc,page-burst-access-ns = <22>;
/* gpmc,wr-data-mux-bus-ns = <90>;
gpmc,wr-access-ns = <186>;*/
};
};
/*———————————————————————————————————————
usb
———————————————————————————————————————–*/
&usb {
status = "okay";
};
&usb_ctrl_mod {
status = "okay";
};
&usb0 {
dr_mode = "host";
status = "okay";
};
&usb0_phy {
status = "okay";
};
&usb1 {
dr_mode = "otg";
status = "okay";
};
&usb1_phy {
status = "okay";
};
&cppi41dma {
status = "okay";
};
使用命令devmem2 0x2000000
输出如下:
devmem2 0x2000000/dev/mem opened.
Memory mapped at address 0xb6fb3[ 1296.204988] Unhandled fault: external abort on non-linefetch (0x1018) at 0xb6fb3000
000.
Bus error
下面是启动过程:
CCCCCCCCEMIF_SDCFG = 62a45032Booting from NAND…
U-Boot 2011.09 (Jul 20 2018 – 13:59:05)
I2C: ready
DRAM: 256 MiB
NAND: 512 MiB
MMC: OMAP SD/MMC: 0
*** Warning – bad CRC, using default environment
Net: cpsw
Booting from NAND…
Hit any key to stop autoboot: 0HW ECC BCH8 Selected
NAND read: device 0 offset 0x300000, size 0x100000
1048576 bytes read: OK
NAND read: device 0 offset 0x400000, size 0x600000
6291456 bytes read: OK
## Booting kernel from Legacy Image at 82000000 …
Image Name: Linux-3.14.26
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4191168 Bytes = 4 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum … OK
## Flattened Device Tree blob at 88000000
Booting using the fdt blob at 0x88000000
Loading Kernel Image … OK
OK
Loading Device Tree to 8fe54000, end 8fe5f075 … OK
Starting kernel …
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 3.14.26 (starx@Starx-VM) #1 Sat Apr 25 19:05:53 CST 2020
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine model: TI AM335x SBC
[ 0.000000] cma: CMA: reserved 24 MiB at 8e000000
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] CPU: All CPU(s) started in SVC mode.
[ 0.000000] AM335X ES2.1 (sgx neon )
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 64512
[ 0.000000] Kernel command line: console=ttyO0,115200n8 root=ubi0:rootfs rw ubi.mtd=5 rootfstype=ubifs rootwait
[ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Memory: 224384K/260096K available (5779K kernel code, 317K rwdata, 2068K rodata, 258K init, 227K bss, 35712K reserved, 0K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 – 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 – 0xfffe0000 ( 896 kB)
[ 0.000000] vmalloc : 0xd0800000 – 0xff000000 ( 744 MB)
[ 0.000000] lowmem : 0xc0000000 – 0xd0000000 ( 256 MB)
[ 0.000000] pkmap : 0xbfe00000 – 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 – 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 – 0xc07b2064 (7849 kB)
[ 0.000000] .init : 0xc07b3000 – 0xc07f38cc ( 259 kB)
[ 0.000000] .data : 0xc07f4000 – 0xc0843400 ( 317 kB)
[ 0.000000] .bss : 0xc0843400 – 0xc087c198 ( 228 kB)
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
[ 0.000000] Total of 128 interrupts on 1 active controller
[ 0.000000] OMAP clockevent source: timer2 at 25000000 Hz
[ 0.000017] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 171798691800ns
[ 0.000037] OMAP clocksource: timer1 at 25000000 Hz
[ 0.000336] Console: colour dummy device 80×30
[ 0.000371] Calibrating delay loop… 718.02 BogoMIPS (lpj=3590144)
[ 0.119394] pid_max: default: 32768 minimum: 301
[ 0.119496] Security Framework initialized
[ 0.119555] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.119567] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.126979] CPU: Testing write buffer coherency: ok
[ 0.127406] Setting up static identity map for 0x805aaf70 – 0x805aafc8
[ 0.128468] devtmpfs: initialized
[ 0.130546] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 0.138372] omap_hwmod: tptc0 using broken dt data from edma
[ 0.138460] omap_hwmod: tptc1 using broken dt data from edma
[ 0.138538] omap_hwmod: tptc2 using broken dt data from edma
[ 0.142879] omap_hwmod: debugss: _wait_target_disable failed
[ 0.200025] pinctrl core: initialized pinctrl subsystem
[ 0.201140] regulator-dummy: no parameters
[ 0.203783] NET: Registered protocol family 16
[ 0.206010] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.208666] cpuidle: using governor ladder
[ 0.208683] cpuidle: using governor menu
[ 0.216081] syscon 44e10000.control_module: regmap [mem 0x44e10000-0x44e107fb] registered
[ 0.217700] platform 49000000.edma: alias fck already exists
[ 0.217727] platform 49000000.edma: alias fck already exists
[ 0.217742] platform 49000000.edma: alias fck already exists
[ 0.218941] OMAP GPIO hardware version 0.1
[ 0.229356] omap-gpmc 50000000.gpmc: could not find pctldev for node /pinmux@44e10800/fpga_pins_default, deferring probe
[ 0.229452] platform 50000000.gpmc: Driver omap-gpmc requests probe deferral
[ 0.232172] No ATAGs?
[ 0.232196] hw-breakpoint: debug architecture 0x4 unsupported.
[ 0.257693] bio: create slab <bio-0> at 0
[ 0.273840] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
[ 0.274875] vbat: 5000 mV[ 0.275289] vcc_5p: 5000 mV[ 0.275715] vcc_3p3: 3300 mV[ 0.278945] i2c-core: driver [palmas] using legacy suspend method
[ 0.278960] i2c-core: driver [palmas] using legacy resume method
[ 0.279856] SCSI subsystem initialized
[ 0.280881] usbcore: registered new interface driver usbfs
[ 0.281095] usbcore: registered new interface driver hub
[ 0.281339] usbcore: registered new device driver usb
[ 0.282524] omap_i2c 44e0b000.i2c: could not find pctldev for node /pinmux@44e10800/pinmux_i2c0_pins, deferring probe
[ 0.282557] platform 44e0b000.i2c: Driver omap_i2c requests probe deferral
[ 0.282964] pps_core: LinuxPPS API ver. 1 registered
[ 0.282976] pps_core: Software ver. 5.3.6 – Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.283121] PTP clock support registered
[ 0.285125] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[ 0.286210] Advanced Linux Sound Architecture Driver Initialized.
[ 0.287450] Switched to clocksource timer1
[ 0.308692] NET: Registered protocol family 2
[ 0.309662] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.309704] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.309736] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.309810] TCP: reno registered
[ 0.309825] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.309854] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.310060] NET: Registered protocol family 1
[ 0.310486] RPC: Registered named UNIX socket transport module.
[ 0.310501] RPC: Registered udp transport module.
[ 0.310508] RPC: Registered tcp transport module.
[ 0.310515] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.311681] hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available
[ 0.314583] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.492824] VFS: Disk quotas dquot_6.5.2
[ 0.492899] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.493470] NFS: Registering the id_resolver key type
[ 0.493551] Key type id_resolver registered
[ 0.493560] Key type id_legacy registered
[ 0.493600] jffs2: version 2.2. (NAND) (SUMMARY) 漏 2001-2006 Red Hat, Inc.
[ 0.493798] msgmni has been set to 486
[ 0.495373] NET: Registered protocol family 38
[ 0.495418] io scheduler noop registered
[ 0.495427] io scheduler deadline registered
[ 0.495453] io scheduler cfq registered (default)
[ 0.497341] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[ 0.500977] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.504287] omap_uart 44e09000.serial: no wakeirq for uart0
[ 0.504459] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 88, base_baud = 3000000) is a OMAP UART0
[ 1.153155] console [ttyO0] enabled
[ 1.158426] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
[ 1.165766] [drm] Initialized drm 1.1.0 20060810
[ 1.182361] brd: module loaded
[ 1.191663] loop: module loaded
[ 1.195362] (hci_tty): inside hci_tty_init
[ 1.200241] (hci_tty): allocated 248, 0
[ 1.206763] mtdoops: mtd device (mtddev=name/number) must be supplied
[ 1.216338] CAN device driver interface
[ 1.221990] PPP generic driver version 2.4.2
[ 1.226959] PPP BSD Compression module registered
[ 1.231935] PPP Deflate Compression module registered
[ 1.237495] usbcore: registered new interface driver asix
[ 1.243396] usbcore: registered new interface driver ax88179_178a
[ 1.249973] usbcore: registered new interface driver cdc_ether
[ 1.256284] usbcore: registered new interface driver dm9620
[ 1.262326] usbcore: registered new interface driver smsc95xx
[ 1.268553] usbcore: registered new interface driver net1080
[ 1.274681] usbcore: registered new interface driver cdc_subset
[ 1.281049] usbcore: registered new interface driver zaurus
[ 1.287160] usbcore: registered new interface driver cdc_ncm
[ 1.293269] usbcore: registered new interface driver cdc_mbim
[ 1.299830] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.306676] ehci-pci: EHCI PCI platform driver
[ 1.311595] ehci-omap: OMAP-EHCI Host Controller driver
[ 1.317416] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.323946] ohci-pci: OHCI PCI platform driver
[ 1.328982] usbcore: registered new interface driver cdc_wdm
[ 1.335142] usbcore: registered new interface driver usb-storage
[ 1.341872] usbcore: registered new interface driver usbserial
[ 1.348199] usbcore: registered new interface driver ch34x
[ 1.354138] usbserial: USB Serial support registered for ch34x
[ 1.360420] usbcore: registered new interface driver option
[ 1.366458] usbserial: USB Serial support registered for GSM modem (1-port)
[ 1.376288] 47401300.usb-phy supply vcc not found, using dummy regulator
[ 1.386200] musb-hdrc musb-hdrc.0.auto: Failed to request rx1.
[ 1.392521] musb-hdrc musb-hdrc.0.auto: musb_init_controller failed with status -517
[ 1.400710] platform musb-hdrc.0.auto: Driver musb-hdrc requests probe deferral
[ 1.409205] 47401b00.usb-phy supply vcc not found, using dummy regulator
[ 1.418924] musb-hdrc musb-hdrc.1.auto: Failed to request rx1.
[ 1.425098] musb-hdrc musb-hdrc.1.auto: musb_init_controller failed with status -517
[ 1.433369] platform musb-hdrc.1.auto: Driver musb-hdrc requests probe deferral
[ 1.456743] mousedev: PS/2 mouse device common for all mice
[ 1.465257] i2c-core: driver [rtc-ds1307] using legacy suspend method
[ 1.472071] i2c-core: driver [rtc-ds1307] using legacy resume method
[ 1.479650] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
[ 1.488056] i2c /dev entries driver
[ 1.491899] Driver for 1-wire Dallas network protocol.
[ 1.499777] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[ 1.549210] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[ 1.556629] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
[ 1.564399] usbcore: registered new interface driver usbhid
[ 1.570289] usbhid: USB HID core driver
[ 1.574606] platform 44d00000.wkup_m3: Driver wkup_m3 requests probe deferral
[ 1.586351] oprofile: using arm/armv7
[ 1.590633] TCP: cubic registered
[ 1.594109] Initializing XFRM netlink socket
[ 1.598628] NET: Registered protocol family 17
[ 1.603331] NET: Registered protocol family 15
[ 1.608004] can: controller area network core (rev 20120528 abi 9)
[ 1.614538] NET: Registered protocol family 29
[ 1.619210] can: raw protocol (rev 20120528)
[ 1.623684] can: broadcast manager protocol (rev 20120528 t)
[ 1.629631] can: netlink gateway (rev 20130117) max_hops=1
[ 1.635517] Key type dns_resolver registered
[ 1.640818] cpu cpu0: of_pm_voltdm_notifier_register: Failed to get cpu0 regulator/voltdm: -517
[ 1.650019] cpu cpu0: cpu0 clock notifier not ready, retry
[ 1.655947] platform cpufreq-cpu0.0: Driver cpufreq-cpu0 requests probe deferral
[ 1.664348] PM: Voltage scaling data blob not provided from DT.
[ 1.670779] PM: bootloader does not support rtc-only!
[ 1.676079] ThumbEE CPU extension supported.
[ 1.680609] Registering SWP/SWPB emulation handler
[ 1.687269] vbat: disabling
[ 1.690339] regulator-dummy: disabling
[ 1.695790] pinctrl-single 44e10800.pinmux: pin 44e10864.0 already requested by 44e10800.pinmux; cannot claim for 50000000.gpmc
[ 1.707886] pinctrl-single 44e10800.pinmux: pin-25 (50000000.gpmc) status -22
[ 1.715370] pinctrl-single 44e10800.pinmux: could not request pin 25 (44e10864.0) from group fpga_pins_default on device pinctrl-single
[ 1.728239] omap-gpmc 50000000.gpmc: Error applying setting, reverse things back
[ 1.736127] omap-gpmc 50000000.gpmc: GPMC revision 6.0
[ 1.741541] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
[ 1.749162] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xdc
[ 1.755834] nand: Micron MT29F4G08ABADAWP
[ 1.760090] nand: 512MiB, SLC, page size: 2048, OOB size: 64
[ 1.766020] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme
[ 1.771767] 6 ofpart partitions found on MTD device omap2-nand.0
[ 1.778084] Creating 6 MTD partitions on "omap2-nand.0":
[ 1.783666] 0x000000000000-0x000000100000 : "MLO"
[ 1.791232] 0x000000100000-0x000000200000 : "U-Boot"
[ 1.798836] 0x000000200000-0x000000300000 : "U-Boot-Env"
[ 1.806742] 0x000000300000-0x000000400000 : "DTB"
[ 1.814090] 0x000000400000-0x000000a00000 : "Linux"
[ 1.825733] 0x000000a00000-0x000020000000 : "RootFs"
[ 2.248239] tps65910 0-002d: No interrupt support, no core IRQ
[ 2.258934] vrtc: 1800 mV[ 2.262079] vrtc: supplied by vbat
[ 2.267470] vio: at 1500 mV[ 2.270588] vio: supplied by vbat
[ 2.275981] vdd_mpu: 912 <–> 1375 mV at 1262 mV[ 2.281024] vdd_mpu: supplied by vbat
[ 2.286764] vdd_core: 912 <–> 1150 mV at 1137 mV[ 2.291893] vdd_core: supplied by vbat
[ 2.296759] vdd3: 5000 mV[ 2.300861] vdig1: at 1800 mV[ 2.304154] vdig1: supplied by vbat
[ 2.309047] vdig2: at 1800 mV[ 2.312317] vdig2: supplied by vbat
[ 2.317183] vpll: at 1800 mV[ 2.320386] vpll: supplied by vbat
[ 2.325187] vdac: at 1800 mV[ 2.328400] vdac: supplied by vbat
[ 2.333170] vaux1: at 1800 mV[ 2.336446] vaux1: supplied by vbat
[ 2.341336] vaux2: at 3300 mV[ 2.344609] vaux2: supplied by vbat
[ 2.349528] vaux33: at 3300 mV[ 2.352892] vaux33: supplied by vbat
[ 2.357870] vmmc: at 3300 mV[ 2.361051] vmmc: supplied by vbat
[ 2.366407] sgtl5000: probe of 0-000a failed with error -121
[ 2.372539] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[ 2.382149] musb-hdrc musb-hdrc.0.auto: MUSB HDRC host driver
[ 2.388766] musb-hdrc musb-hdrc.0.auto: new USB bus registered, assigned bus number 1
[ 2.397235] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 2.404398] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.411982] usb usb1: Product: MUSB HDRC host driver
[ 2.417186] usb usb1: Manufacturer: Linux 3.14.26 musb-hcd
[ 2.422947] usb usb1: SerialNumber: musb-hdrc.0.auto
[ 2.429192] hub 1-0:1.0: USB hub found
[ 2.433201] hub 1-0:1.0: 1 port detected
[ 2.441499] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[ 2.448084] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 2
[ 2.456524] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 2.463686] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.471271] usb usb2: Product: MUSB HDRC host driver
[ 2.476474] usb usb2: Manufacturer: Linux 3.14.26 musb-hcd
[ 2.482234] usb usb2: SerialNumber: musb-hdrc.1.auto
[ 2.488474] hub 2-0:1.0: USB hub found
[ 2.492503] hub 2-0:1.0: 1 port detected
[ 2.498105] remoteproc0: wkup_m3 is available
[ 2.502773] remoteproc0: Note: remoteproc is still under development and considered experimental.
[ 2.512202] remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[ 2.523315] remoteproc0: Direct firmware load failed with error -2
[ 2.529916] remoteproc0: Falling back to user helper
[ 2.535643] cpu cpu0: of_pm_voltdm_notifier_register: Fail calculating voltage latency[950000<->1260000]:-22
[ 2.547976] UBI: attaching mtd5 to ubi0
[ 2.837642] usb 1-1: new high-speed USB device number 2 using musb-hdrc
[ 2.999186] usb 1-1: New USB device found, idVendor=1a40, idProduct=0101
[ 3.006173] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 3.013634] usb 1-1: Product: USB 2.0 Hub
[ 3.047966] hub 1-1:1.0: USB hub found
[ 3.052005] hub 1-1:1.0: 4 ports detected
[ 4.024367] UBI: scanning is finished
[ 4.042056] UBI: attached mtd5 (name "RootFs", size 502 MiB) to ubi0
[ 4.048800] UBI: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes
[ 4.055870] UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 512
[ 4.062770] UBI: VID header offset: 512 (aligned 512), data offset: 2048
[ 4.069759] UBI: good PEBs: 4015, bad PEBs: 1, corrupted PEBs: 0
[ 4.076012] UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
[ 4.083455] UBI: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 2699497657
[ 4.092886] UBI: available PEBs: 0, total reserved PEBs: 4015, PEBs reserved for bad PEB handling: 79
[ 4.102716] UBI: background thread "ubi_bgt0d" started, PID 852
[ 4.707514] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
[ 4.713882] davinci_mdio 4a101000.mdio: detected phy mask ffffffef
[ 4.833989] libphy: 4a101000.mdio: probed
[ 4.838303] davinci_mdio 4a101000.mdio: phy[4]: device 4a101000.mdio:04, driver Atheros 8035 ethernet
[ 4.849717] cpsw 4a100000.ethernet: Random MACID = 26:1c:af:b5:32:f1
[ 4.860414] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:03 UTC (946684803)
[ 4.875912] ALSA device list:
[ 4.879171] No soundcards found.
[ 4.902440] UBIFS: background thread "ubifs_bgt0_0" started, PID 864
[ 4.928208] UBIFS: recovery needed
[ 5.046971] UBIFS: recovery completed
[ 5.051129] UBIFS: mounted UBI device 0, volume 0, name "rootfs"
[ 5.057486] UBIFS: LEB size: 129024 bytes (126 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 5.067089] UBIFS: FS size: 505257984 bytes (481 MiB, 3916 LEBs), journal size 25288704 bytes (24 MiB, 196 LEBs)
[ 5.077803] UBIFS: reserved for root: 4952683 bytes (4836 KiB)
[ 5.083946] UBIFS: media format: w4/r0 (latest is w4/r0), UUID 6FC4797C-72C3-4BA9-91C4-BC26D9D87547, small LPT model
[ 5.095802] VFS: Mounted root (ubifs filesystem) on device 0:13.
[ 5.102923] devtmpfs: mounted
[ 5.107134] Freeing unused kernel memory: 256K (c07b3000 – c07f3000)
INIT: version 2.88 booting
Error opening /dev/fb0: No such file or directory
Starting udev
[ 5.880118] udevd[897]: starting version 182
[ 6.355428] remoteproc0: powering up wkup_m3
[ 6.386788] remoteproc0: Booting fw image am335x-pm-firmware.elf, size 154420
[ 6.518030] PM: CM3 Firmware Version = 0x190
[ 6.522662] remoteproc0: remote processor wkup_m3 is now up
Starting Bootlog daemon: bootlogd: cannot allocate pseudo tty: No such file or directory
bootlogd.
[ 7.126142] random: dd urandom read with 7 bits of entropy available
ALSA: Restoring mixer settings…
/usr/sbin/alsactl: load_state:1729: No soundcards found…
Wed Feb 11 14:32:00 UTC 2015
INIT: Entering runlevel: 5
Configuring network interfaces… [ 10.294348] net eth0: initializing cpsw version 1.12 (0)
[ 10.301754] phy_init_hw do sw reset 0 time
[ 10.467510] phy_init_hw sw reset done
[ 10.471441] phy_init_hw do sw reset 1 time
[ 10.627522] phy_init_hw sw reset done
[ 10.631477] phy_init_hw do sw reset 2 time
[ 10.787509] phy_init_hw sw reset done
[ 10.791452] phy_init_hw do sw reset 3 time
[ 10.947512] phy_init_hw sw reset done
[ 10.951455] phy_init_hw do sw reset 4 time
[ 11.107510] phy_init_hw sw reset done
[ 11.478157] net eth0: phy found : id is : 0x4dd072
udhcpc (v1.22.1) started
Sending discover…
Sending discover…
Sending discover…
No lease, failing
done.
Starting system message bus: dbus.
Starting telnet daemon.
Starting rpcbind daemon…rpcbind: cannot create socket for udp6
rpcbind: cannot create socket for tcp6
done.
creating NFS state directory: done
starting statd: done
Starting syslogd/klogd: done
Starting thttpd.
Stopping Bootlog daemon: bootlogd.
_____ _____ _ _| _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_| | _| .'| . | . | | __| _| . | | | -_| _| _|
|__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_| |___| |___|
Arago Project https://www.ti2k.com/wp-content/uploads/ti2k/DeyiSupport_DSP_Main_Page am335x-evm /dev/ttyO0
Arago 2015.02 am335x-evm /dev/ttyO0
am335x-evm login:
Shine:
请问是自己的板子吗?用的是哪个版本的processor SDK? GPMC读写时序有测量过吗?