第一个问题的具体的启动流程细节如下:
U-Boot 2010.06 (May 06 2015 – 18:28:14)
##NAND: HW ECC Hamming Code selected
512 MiB
Press 'u' to enter in U-BOOT
*** Default start — env_common.c***
NAND read: device 0 offset 0x20000, size 0x40000
262144 bytes read: OK
## Starting application at 0x81000000 …
U-Boot 2010.06 (May 06 2015 – 18:30:27)
@@NAND: HW ECC Hamming Code selected
512 MiB
OK: Read nand record success, the value is : 255
*** Warning – bad CRC or NAND, using default environment
*** Default start — env_nand.c***
Net: <ethaddr> not set. Reading from E-fuse
Detected MACID:d0:39:72:66:d4:c
cpsw
No MMC card found
no MMCSD and NAND start
Booting from nand …
NAND read: device 0 offset 0x160000, size 0x80000
524288 bytes read: OK
NAND read: device 0 offset 0x280000, size 0x260000
2490368 bytes read: OK
## Booting kernel from Legacy Image at 80007fc0 …
Loading Kernel Image … size=2463016
load = 80008000, start = 80008000
OK
OK
Starting kernel …
$$$$$$$###### 80000100.
MAC ID IS d0:39:72:66:d4:c
bootconsole [earlycon0] enabled
NR_IRQS:375
GPMC revision 6.0
Trying to set irq flags for IRQ375
ok
omap_i2c omap_i2c.1: bus 1 rev4.0 at 100 kHz
omap_i2c omap_i2c.2: bus 2 rev4.0 at 100 kHz
musb-hdrc: version 6.0, host, debug=0
musb-hdrc musb-hdrc.0: MUSB HDRC host driver
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
musb-hdrc musb-hdrc.0: USB Host mode controller at f080c000 using DMA, IRQ 18
musb-hdrc musb-hdrc.1: MUSB HDRC host driver
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
musb-hdrc musb-hdrc.1: USB Host mode controller at f081e800 using DMA, IRQ 19
TCP reno registered
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
omap-iommu omap-iommu.0: ducati registered
omap-iommu omap-iommu.1: sys registered
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
omap_uart.0: ttyO0 at MMIO 0x48020000 (irq = 72) is a OMAP UART0
omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
console [ttyO1] enabled, bootconsole disabled
console [ttyO1] enabled, bootconsole disabled
omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
ahci ahci.0: forcing PORTS_IMPL to 0x1
ahci ahci.0: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode
ahci ahci.0: flags: ncq sntf pm led clo only pmp pio slum part ccc apst
scsi0 : ahci_platform
ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a150fff] port 0x100 irq 16
omap2-nand driver initializing
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xdc (Micron NAND 512MiB 3,3V 8-bit)
Creating 6 MTD partitions on "omap2-nand.0":
0x000000000000-0x000000020000 : "U-Boot-min"
0x000000020000-0x000000260000 : "U-Boot"
0x000000260000-0x000000280000 : "U-Boot Env"
0x000000280000-0x0000006c0000 : "Kernel"
0x0000006c0000-0x00001fac0000 : "File System"
0x00001fac0000-0x000020000000 : "Reserved"
UBI: attaching mtd4 to ubi0
UBI: physical eraseblock size: 131072 bytes (128 KiB)
UBI: logical eraseblock size: 126976 bytes
UBI: smallest flash I/O unit: 2048
UBI: sub-page size: 512
UBI: VID header offset: 2048 (aligned 2048)
UBI: data offset: 4096
UBI: @@@@@@@@@@@@@@@@@@@@@@@@@@@@max. sequence number
ata1: SATA link down (SStatus 0 SControl 300)
UBI: ############################max. sequence number
UBI: max. sequence number: 1693
UBI warning: print_rsvd_warning: cannot reserve enough PEBs for bad PEB handling, reserved 32, need 40
UBI: attached mtd4 to ubi0
UBI: MTD device name: "File System"
UBI: MTD device size: 500 MiB
UBI: number of good PEBs: 4000
UBI: number of bad PEBs: 0
UBI: number of corrupted PEBs: 0
UBI: max. allowed volumes: 128
UBI: wear-leveling threshold: 4096
UBI: number of internal volumes: 1
UBI: number of user volumes: 1
UBI: available PEBs: 0
UBI: total number of reserved PEBs: 4000
UBI: number of PEBs reserved for bad PEB handling: 32
UBI: max/mean erase counter: 2/0
UBI: image sequence number: 493778882
UBI: background thread "ubi_bgt0d" started, PID 43
davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
davinci_mdio davinci_mdio.0: detected phy mask fffffffe
davinci_mdio.0: probed
davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown
RTC_LOW_POWER_ALARM_OSF = b3
rtc-ds1307 1-0068: SET TIME!
rtc-ds1307 1-0068: rtc core: registered ds1338 as rtc0
rtc-ds1307 1-0068: 56 bytes nvram
rtc-ds1307: probe of 2-0068 failed with error -5
Linux video capture interface: v2.00
lm75 1-0048: hwmon0: sensor 'tmp75'
OMAP Watchdog Timer Rev 0x00: initial timeout 60 sec
notify_init : notify drivercreated for remote proc id 2 at physical Address 0xbf900000
TCP cubic registered
Registering the dns_resolver key type
u-boot send MAC ID is d0:39:72:66:d4:c
rtc-ds1307 1-0068: setting system clock to 2000-01-01 00:00:14 UTC (946684814)
Waiting 2sec before mounting root device…
mmc1: new high speed MMC card at address 0001
mmcblk0: mmc1:0001 MMC04G 3.60 GiB
mmcblk0: unknown partition table
UBIFS: recovery needed
UBIFS: recovery completed
UBIFS: mounted UBI device 0, volume 0, name "rootfs"
UBIFS: file system size: 501936128 bytes (490172 KiB, 478 MiB, 3953 LEBs)
UBIFS: journal size: 9023488 bytes (8812 KiB, 8 MiB, 72 LEBs)
UBIFS: media format: w4/r0 (latest is w4/r0)
UBIFS: default compressor: lzo
UBIFS: reserved for root: 0 bytes (0 KiB)
VFS: Mounted root (ubifs filesystem) on device 0:13.
Freeing init memory: 188K
INIT: version 2.86 booting
RC……
udevd (72): /proc/72/oom_adj is deprecated, please use /proc/72/oom_score_adj instead.
udev: starting version 141
/proc/cpu/alignment……
———–display config change———–
EXT3-fs: barriers not enabled
EXT3-fs (mmcblk0): using internal journal
EXT3-fs (mmcblk0): recovery complete
EXT3-fs (mmcblk0): mounted filesystem with writeback data mode
Root filesystem already rw, not remounting
udev-cache……
modutils.sh……
ramdisk……
mountall.sh……
logger: mount: mounting rootfs on / failed: No such file or directory
populate-volatile.sh……
devpts.sh……
alsa-state……
ALSA: Restoring mixer settings…
hostname.sh……
load-hdvicp2-firmware.sh……
SysLink version : 2.00.02.80
SysLink module created on Date:Sep 8 2011 Time:16:36:33
/usr/sbin/alsactl: load_state:1625: No soundcards found…
Unable to open /dev/mem
Could not open the mem file
Segmentation fault
Error at line 73, file devmem2.c (2) [No such file or directory]
Error at line 73, file devmem2.c (2) [No such file or directory]
Error at line 73, file devmem2.c (2) [No such file or directory]
load-hdvpss-firmware.sh……
Unable to open /dev/mem
Could not open the mem file
Segmentation fault
notify_shm_drv_sendevent failed! status = 0xfffffff0
notify_send_event failed! status = 0xfffffff0
notify_shm_drv_sendevent failed! status = 0xfffffff0
notify_send_event failed! status = 0xfffffff0
notify_shm_drv_sendevent failed! status = 0xfffffff0
notify_send_event failed! status = 0xfffffff0
notify_shm_drv_sendevent failed! status = 0xfffffff0
notify_send_event failed! status = 0xfffffff0
notify_shm_drv_sendevent failed! status = 0xfffffff0
notify_send_event failed! status = 0xfffffff0
notify_shm_drv_sendevent failed! status = 0xffffff
第二个问题的具体的启动流程细节如下:
U-Boot 2010.06 (May 06 2015 – 18:28:14)
##NAND: HW ECC Hamming Code selected
512 MiB
Press 'u' to enter in U-BOOT
*** Default start — env_common.c***
NAND read: device 0 offset 0x20000, size 0x40000
262144 bytes read: OK
## Starting application at 0x81000000 …
U-Boot 2010.06 (May 06 2015 – 18:30:27)
@@NAND: HW ECC Hamming Code selected
512 MiB
OK: Read nand record success, the value is : 255
*** Warning – bad CRC or NAND, using default environment
*** Default start — env_nand.c***
Net: <ethaddr> not set. Reading from E-fuse
Detected MACID:d0:39:72:66:d4:c
cpsw
No MMC card found
no MMCSD and NAND start
Booting from nand …
NAND read: device 0 offset 0x160000, size 0x80000
524288 bytes read: OK
NAND read: device 0 offset 0x280000, size 0x260000
2490368 bytes read: OK
## Booting kernel from Legacy Image at 80007fc0 …
Loading Kernel Image … size=2463016
load = 80008000, start = 80008000
OK
OK
Starting kernel …
$$$$$$$###### 80000100.
MAC ID IS d0:39:72:66:d4:c
bootconsole [earlycon0] enabled
NR_IRQS:375
GPMC revision 6.0
Trying to set irq flags for IRQ375
ok
omap_i2c omap_i2c.1: bus 1 rev4.0 at 100 kHz
omap_i2c omap_i2c.2: bus 2 rev4.0 at 100 kHz
musb-hdrc: version 6.0, host, debug=0
musb-hdrc musb-hdrc.0: MUSB HDRC host driver
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
musb-hdrc musb-hdrc.0: USB Host mode controller at f080c000 using DMA, IRQ 18
musb-hdrc musb-hdrc.1: MUSB HDRC host driver
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
musb-hdrc musb-hdrc.1: USB Host mode controller at f081e800 using DMA, IRQ 19
TCP reno registered
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
omap-iommu omap-iommu.0: ducati registered
omap-iommu omap-iommu.1: sys registered
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
omap_uart.0: ttyO0 at MMIO 0x48020000 (irq = 72) is a OMAP UART0
omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
console [ttyO1] enabled, bootconsole disabled
console [ttyO1] enabled, bootconsole disabled
omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
ahci ahci.0: forcing PORTS_IMPL to 0x1
ahci ahci.0: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode
ahci ahci.0: flags: ncq sntf pm led clo only pmp pio slum part ccc apst
scsi0 : ahci_platform
ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a150fff] port 0x100 irq 16
omap2-nand driver initializing
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xdc (Micron NAND 512MiB 3,3V 8-bit)
Creating 6 MTD partitions on "omap2-nand.0":
0x000000000000-0x000000020000 : "U-Boot-min"
0x000000020000-0x000000260000 : "U-Boot"
0x000000260000-0x000000280000 : "U-Boot Env"
0x000000280000-0x0000006c0000 : "Kernel"
0x0000006c0000-0x00001fac0000 : "File System"
0x00001fac0000-0x000020000000 : "Reserved"
UBI: attaching mtd4 to ubi0
UBI: physical eraseblock size: 131072 bytes (128 KiB)
UBI: logical eraseblock size: 126976 bytes
UBI: smallest flash I/O unit: 2048
UBI: sub-page size: 512
UBI: VID header offset: 2048 (aligned 2048)
UBI: data offset: 4096
UBI: @@@@@@@@@@@@@@@@@@@@@@@@@@@@max. sequence number
ata1: SATA link down (SStatus 0 SControl 300)
UBI: ############################max. sequence number
UBI: max. sequence number: 1693
UBI warning: print_rsvd_warning: cannot reserve enough PEBs for bad PEB handling, reserved 32, need 40
UBI: attached mtd4 to ubi0
UBI: MTD device name: "File System"
UBI: MTD device size: 500 MiB
UBI: number of good PEBs: 4000
UBI: number of bad PEBs: 0
UBI: number of corrupted PEBs: 0
UBI: max. allowed volumes: 128
UBI: wear-leveling threshold: 4096
UBI: number of internal volumes: 1
UBI: number of user volumes: 1
UBI: available PEBs: 0
UBI: total number of reserved PEBs: 4000
UBI: number of PEBs reserved for bad PEB handling: 32
UBI: max/mean erase counter: 2/0
UBI: image sequence number: 493778882
UBI: background thread "ubi_bgt0d" started, PID 43
davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
davinci_mdio davinci_mdio.0: detected phy mask fffffffe
davinci_mdio.0: probed
davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown
RTC_LOW_POWER_ALARM_OSF = b3
rtc-ds1307 1-0068: SET TIME!
rtc-ds1307 1-0068: rtc core: registered ds1338 as rtc0
rtc-ds1307 1-0068: 56 bytes nvram
rtc-ds1307: probe of 2-0068 failed with error -5
Linux video capture interface: v2.00
lm75 1-0048: hwmon0: sensor 'tmp75'
OMAP Watchdog Timer Rev 0x00: initial timeout 60 sec
notify_init : notify drivercreated for remote proc id 2 at physical Address 0xbf900000
TCP cubic registered
Registering the dns_resolver key type
u-boot send MAC ID is d0:39:72:66:ec:84
rtc-ds1307 1-0068: setting system clock to 2015-06-12 10:25:29 UTC (1434104729)
Waiting 2sec before mounting root device…
mmc1: new high speed MMC card at address 0001
mmcblk0: mmc1:0001 MMC04G 3.60 GiB
mmcblk0: unknown partition table
UBIFS: mounted UBI device 0, volume 0, name "rootfs"
UBIFS: file system size: 501936128 bytes (490172 KiB, 478 MiB, 3953 LEBs)
UBIFS: journal size: 9023488 bytes (8812 KiB, 8 MiB, 72 LEBs)
UBIFS: media format: w4/r0 (latest is w4/r0)
UBIFS: default compressor: lzo
UBIFS: reserved for root: 0 bytes (0 KiB)
VFS: Mounted root (ubifs filesystem) on device 0:13.
devtmpfs: error mounting -2
Freeing init memory: 188K
SysLink version : 2.00.02.80
SysLink module created on Date:Sep 8 2011 Time:16:36:33
notify_shm_drv_sendevent failed! status = 0xfffffff0
notify_send_event failed! status = 0xfffffff0
notify_shm_drv_sendevent failed! status = 0xfffffff0
请给予帮助,谢谢!
Louis:
你好,
请问你使用的SDK是什么?软件版本是多少?
yz liu:
回复 Louis:
您好!SDK是EZSDK505,软件版本我们修改过,是在原有的U-BOOT和KERNEL上修改的
Louis:
回复 yz liu:
请看看下面的帖子能否帮到你:
https://e2e.ti.com/support/embedded/linux/f/354/t/256386
https://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/t/249775
另外,请问是什么应用场景?如果是DVR 或者 NVR,请切换至DVR RDK.