完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
扫一扫,分享给好友
我是按照http://processors.wiki.ti.com/index.php/EZSDK_Memory_Map#Changing_Memory_Map_For_512MB_DM814x_Board
配置了uboot #define PG2_1_DMM_LISA_MAP__2 0x80540300 #define PG2_1_DMM_LISA_MAP__3 0xA0540300 sdk是DVRRDK_02.80.00.10 bootargs如下 setenv bootargs console=ttyO0,115200n8 rootwait root=ubi0:rootfs ubi.mtd=4 rootfstype=ubifs nolock rw mem=128M vram=20M ti814xfb.vram=0:12M,1:4M,2:4M notifyk.vpssm3_sva=0xbf900000 系统打印 U-Boot 2010.06 (Oct 20 2016 - 00:16:04) TI8148-GP rev 3.0 ARM clk: 600MHz DDR clk: 400MHz DRAM: 2 GiB NAND: HW ECC BCH8 Selected 256 MiB Using default environment The 2nd stage U-Boot will now be auto-loaded Please do not interrupt the countdown till TI8148_EVM prompt if 2nd stage is already flashed Hit any key to stop autoboot: 0 NAND read: device 0 offset 0x20000, size 0x40000 262144 bytes read: OK ## Starting application at 0x81000000 ... U-Boot 2010.06 (Oct 20 2016 - 00:17:01) TI8148-GP rev 3.0 ARM clk: 600MHz DDR clk: 400MHz I2C: ready DRAM: 2 GiB NAND: HW ECC BCH8 Selected 256 MiB MMC: OMAP SD/MMC: 0 Net: Detected MACID:a0:f6:fd:a9:d6:4a cpsw Hit any key to stop autoboot: 0 NAND read: device 0 offset 0x280000, size 0x296000 2711552 bytes read: OK ## Booting kernel from Legacy Image at 81000000 ... Image Name: Linux-2.6.37 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2709652 Bytes = 2.6 MiB Load Address: 80008000 Entry Point: 80008000 Verifying Checksum ... OK Loading Kernel Image ... OK OK Starting kernel ... Linux version 2.6.37 (root@wczy-virtual-machine) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #73 Thu Oct 20 13:35:14 CST 2016 CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache Machine: ti8148revd vram size = 20971520 at 0x0 reserved size = 20971520 at 0x0 FB: Reserving 20971520 bytes SDRAM for VRAM Memory policy: ECC disabled, Data cache writeback OMAP chip is TI8148 3.0 SRAM: Mapped pa 0x402f1000 to va 0xfe400000 size: 0xf000 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 27392 Kernel command line: console=ttyO0,115200n8 rootwait root=ubi0:rootfs ubi.mtd=4 rootfstype=ubifs nolock rw mem=128M vram=20M ti814xfb.vram=0:12M,1:4M,2:4M notifyk.vpssm3_sva=0xbf900000 PID hash table entries: 512 (order: -1, 2048 bytes) Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Memory: 108MB = 108MB total Memory: 103748k/103748k available, 27324k reserved, 0K highmem Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) DMA : 0xffc00000 - 0xffe00000 ( 2 MB) vmalloc : 0xc8800000 - 0xf8000000 ( 760 MB) lowmem : 0xc0000000 - 0xc8000000 ( 128 MB) pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) modules : 0xbf000000 - 0xbfe00000 ( 14 MB) .init : 0xc0008000 - 0xc003b000 ( 204 kB) .text : 0xc003b000 - 0xc0505434 (4906 kB) .data : 0xc0506000 - 0xc054f380 ( 293 kB) SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 NR_IRQS:375 IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts Total of 128 interrupts on 1 active controller GPMC revision 6.0 Trying to install interrupt handler for IRQ368 Trying to install interrupt handler for IRQ369 Trying to install interrupt handler for IRQ370 Trying to install interrupt handler for IRQ371 Trying to install interrupt handler for IRQ372 Trying to install interrupt handler for IRQ373 Trying to install interrupt handler for IRQ374 Trying to install type control for IRQ375 Trying to set irq flags for IRQ375 OMAP clockevent source: GPTIMER1 at 20000000 Hz Console: colour dummy device 80x30 Calibrating delay loop... 599.65 BogoMIPS (lpj=2998272) pid_max: default: 32768 minimum: 301 Security Framework initialized Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok devtmpfs: initialized omap_voltage_early_init: voltage driver support not added regulator: core version 0.5 regulator: dummy: NET: Registered protocol family 16 omap_voltage_domain_lookup: Voltage driver init not yet happened.Faulting! omap_voltage_add_dev: VDD specified does not exist! OMAP GPIO hardware version 0.1 OMAP GPIO hardware version 0.1 OMAP GPIO hardware version 0.1 OMAP GPIO hardware version 0.1 omap_mux_init: Add partition: #1: core, flags: 4 nand BW is 16-bit Debugfs: Only enabling/disabling deep sleep and wakeup timer is supported now registered ti81xx_vpss device registered ti81xx on-chip HDMI device registered ti81xx_fb device bio: create slab SCSI subsystem initialized u***core: registered new interface driver u***fs u***core: registered new interface driver hub u***core: registered new device driver u*** USBSS revision 4ea2080b registerd cppi-dma Intr @ IRQ 17 Cppi41 Init Done omap_i2c omap_i2c.1: bus 1 rev4.0 at 100 kHz regulator: VRTC: 1800 mV regulator: VIO: 1500 mV regulator: VDD1: 600 <--> 1500 mV at 1200 mV regulator: VDD2: 600 <--> 1500 mV at 1200 mV regulator: VDDCTRL: 600 <--> 1400 mV at 1200 mV regulator: LDO1: 1100 <--> 3300 mV at 1800 mV regulator: LDO2: 1100 <--> 3300 mV at 1800 mV regulator: LDO3: 1100 <--> 3300 mV at 3300 mV regulator: LDO4: 1100 <--> 3300 mV at 1800 mV regulator: LDO5: 1100 <--> 3300 mV at 3300 mV regulator: LDO6: 1100 <--> 3300 mV at 3300 mV regulator: LDO7: 1100 <--> 3300 mV at 3300 mV regulator: LDO8: 1100 <--> 3300 mV at 1800 mV tps65910 1-002d: No interrupt support, no core IRQ Advanced Linux Sound Architecture Driver Version 1.0.23. Switching to clocksource gp timer mu***-hdrc: version 6.0, host, debug=0 mu***-hdrc mu***-hdrc.0: dma type: dma-cppi41 MUSB controller-0 revision 4ea20800 mu***-hdrc mu***-hdrc.0: MUSB HDRC host driver mu***-hdrc mu***-hdrc.0: new USB bus registered, assigned bus number 1 hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected mu***-hdrc mu***-hdrc.0: USB Host mode controller at c881e000 using DMA, IRQ 18 mu***-hdrc mu***-hdrc.1: dma type: dma-cppi41 MUSB controller-1 revision 4ea20800 mu***-hdrc mu***-hdrc.1: MUSB HDRC host driver mu***-hdrc mu***-hdrc.1: new USB bus registered, assigned bus number 2 hub 2-0:1.0: USB hub found hub 2-0:1.0: 1 port detected mu***-hdrc mu***-hdrc.1: USB Host mode controller at c8828800 using DMA, IRQ 19 NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 4096 (order: 3, 32768 bytes) TCP bind hash table entries: 4096 (order: 2, 16384 bytes) TCP: Hash tables configured (established 4096 bind 4096) TCP reno registered UDP hash table entries: 256 (order: 0, 4096 bytes) UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) NET: Registered protocol family 1 RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. NetWinder Floating Point Emulator V0.97 (double precision) PMU: registered new PMU device of type 0 omap-iommu omap-iommu.0: ducati registered omap-iommu omap-iommu.1: sys registered msgmni has been set to 202 io scheduler noop registered io scheduler deadline registered io scheduler cfq registered (default) Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled omap_uart.0: ttyO0 at MMIO 0x48020000 (irq = 72) is a OMAP UART0 console [ttyO0] enabled omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1 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 brd: module loaded loop: module loaded omap2-nand driver initializing NAND device: Manufacturer ID: 0x2c, Chip ID: 0xca (Micron ) 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-0x00000cec0000 : "File System" 0x00000cec0000-0x000010000000 : "Reserved" UBI: attaching mtd4 to ubi0 UBI: physical eraseblock size: 131072 bytes (128 KiB) UBI: logical eraseblock size: 129024 bytes UBI: smallest flash I/O unit: 2048 UBI: sub-page size: 512 UBI: VID header offset: 512 (aligned 512) UBI: data offset: 2048 UBI: max. sequence number: 416 UBI: attached mtd4 to ubi0 UBI: MTD device name: "File System" UBI: MTD device size: 200 MiB UBI: number of good PEBs: 1600 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: 1600 UBI: number of PEBs reserved for bad PEB handling: 16 UBI: max/mean erase counter: 2/0 UBI: image sequence number: 479894950 UBI: background thread "ubi_bgt0d" started, PID 42 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 CAN device driver interface CAN bus driver for Bosch D_CAN controller 1.0 d_can d_can: d_can device registered (irq=52, irq_obj=53) Initializing USB Mass Storage driver... u***core: registered new interface driver u***-storage USB Mass Storage support registered. mice: PS/2 mouse device common for all mice omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0 i2c /dev entries driver Linux video capture interface: v2.00 OMAP Watchdog Timer Rev 0x00: initial timeout 60 sec u***core: registered new interface driver u***hid u***hid: USB HID core driver notify_init : notify drivercreated for remote proc id 2 at physical Address 0xbf900000 asoc: tlv320aic3x-hifi <-> davinci-mcasp.2 mapping ok ALSA device list: #0: TI81XX EVM TCP cubic registered NET: Registered protocol family 17 can: controller area network core (rev 20090105 abi 8) NET: Registered protocol family 29 can: raw protocol (rev 20090105) can: broadcast manager protocol (rev 20090105 t) Registering the dns_resolver key type VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3 omap_voltage_late_init: Voltage driver support not added Power Management for TI81XX. Detected MACID=a0:f6:fd:a9:d6:4a omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:01 UTC (946684801) UBIFS: recovery needed UBIFS: recovery completed UBIFS: mounted UBI device 0, volume 0, name "rootfs" UBIFS: file system size: 202438656 bytes (197694 KiB, 193 MiB, 1569 LEBs) UBIFS: journal size: 9033728 bytes (8822 KiB, 8 MiB, 71 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:14. devtmpfs: mounted Freeing init memory: 204K INIT: version 2.86 booting Please wait: booting... Error opening /dev/fb0: No such file or directory Starting udev udevd (80): /proc/80/oom_adj is deprecated, please use /proc/80/oom_score_adj instead. Root filesystem already rw, not remounting Caching udev devnodes Populating dev cache ALSA: Restoring mixer settings... Configuring network interfaces... CPSW phy found : id is : 0x4dd074 PHY 0:01 not found done. Setting up IP spoofing protection: rp_filter. Mon Mar 14 23:16:00 UTC 2011 INIT: Entering runlevel: 5 Starting system message bus: dbus. Starting telnet daemon. Starting syslogd/klogd: done Starting thttpd. _____ _____ _ _ | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_ | | _| .'| . | . | | __| _| . | | | -_| _| _| |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_| |___| |___| Arago Project http://arago-project.org dm814x-evm ttyO0 Arago 2010.11 dm814x-evm ttyO0 dm814x-evm login: PHY: 0:00 - Link is Up - 100/Full root root@dm814x-evm:~# cd /driver/ root@dm814x-evm:/driver# insmod vpss.ko 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 ....... |
|
相关推荐
5个回答
|
|
Chi Xiaoyan,
请问你的bld文件是否也做了相应的修改? 如何修改DVR RDK/IPNC RDK Memory Map http://www.deyisupport.com/question_answer/dsp_arm/davinci_digital_media_processors/f/39/t/104139.aspx |
|
|
|
Chris Meng, 好的,我修改一下试试,另外问一下加载这个驱动不成功就是memory map 没有配置对的问题吧,还有别的地方可能出现问题导致这个现象吗? |
|
|
|
普罗旺斯的薰衣草 发表于 2018-5-28 03:47 Chris Meng, 问一下,我这么配置对不对 var KB=1024; var MB=KB*KB; var GB=KB*KB*KB; var DDR3_ADDR = 0x80000000; var DDR3_SIZE = 512 * MB; var DDR3_ADDR_256_REG0_START = 0x80000000; var DDR3_ADDR_256_REG0_END = 0x90000000; var DDR3_ADDR_256_REG1_START = 0xB0000000; var DDR3_ADDR_256_REG1_END = 0xC0000000; var OCMC0_ADDR = 0x40300000; var OCMC1_ADDR = 0x40400000; var OCMC_SIZE = 256*KB; /* first 256MB */ var LINUX_SIZE = 128*MB;//128*MB; var SR1_SIZE = 72*MB; var VIDEO_M3_CODE_SIZE = 3*MB; var VIDEO_M3_DATA_SIZE = 14*MB; var DSS_M3_CODE_SIZE = 2*MB; var DSS_M3_DATA_SIZE = 22*MB; var DSP_CODE_SIZE = 2*MB; var DSP_DATA_SIZE = 13*MB;//13*MB; /* second 256MB */ var TILER_SIZE = 128*MB-72*MB; /* Reducing this to fix Vid Frame Alloc failures. Need to fix */ /* MUST be aligned on 128MB boundary */ var SR2_FRAME_BUFFER_SIZE = 117*MB+70*MB; var SR0_SIZE = 6*MB; var HDVPSS_DESC_SIZE = 2*MB; var HDVPSS_SHARED_SIZE = 2*MB; var NOTIFY_SHARED_SIZE = 2*MB; var REMOTE_DEBUG_SIZE = 1*MB; 然后bootargs=notifyk.vpssm3_sva=0xbfd00000 |
|
|
|
Chi Xiaoyan, bld不是很对。建议你参考DVR RDK4.01里面就有512M的bld文件,你看一下。 |
|
|
|
Chi Xiaoyan, 还有cfg目录下其他的文件,例如ammu配置等,也和最新的rdk的文件对比一下。 在512MB的DDR系统里面,我们是把物理的512MB映射为逻辑的1GB使用的。 |
|
|
|
只有小组成员才能发言,加入小组>>
302 浏览 0 评论
普中科技F28335开发板每次上电复位后数码管都会显示,如何熄灭它?
189 浏览 1 评论
883 浏览 0 评论
TMS320F28377D:新做了以377d为芯片的板子,上电后芯片复位引脚出现方波请问如何解决?
2062 浏览 0 评论
TPS55340通电后输入端保险丝烧断,芯片输入和GND之间短路
3800 浏览 4 评论
CC3100BOOST使用CC3200lunchXL进行烧录
842浏览 2评论
81浏览 2评论
105浏览 2评论
85浏览 2评论
114浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-8-21 20:16 , Processed in 1.206264 second(s), Total 87, Slave 70 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191