Hello,
I am using dvrrdk with DM8148.
I try to enlarge the memory for kernel (it uses bld file for this issue).
But before doing the bld changes, I just changed in bootargs from
"... mem=128M "
to
"...mem=128M@0x80000000 "
It seems to get stuck during kernel boot:
.....
CPSW phy found : id is : 0x282f014
PHY 0:00 not found
sd 0:0:0:0: [sda] 250069680 512-byte logical blocks: (128 GB/119 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sda: sda1
sd 0:0:0:0: [sda] Attached SCSI disk
IP-Config: Guessing netmask 255.255.255.0
IP-Config: Complete:
device=eth0, addr=192.168.1.20, mask=255.255.255.0, gw=255.255.255.255,
host=192.168.1.20, domain=, nis-domain=(none),
bootserver=255.255.255.255, rootserver=192.168.1.4, rootpath=
Waiting 15sec before mounting root device...
PHY: 0:01 - Link is Up - 100/Full
VFS: Mounted root (nfs filesystem) on device 0:15.
devtmpfs: mounted
Freeing init memory: 188K
INIT: version 2.88 booting
Mounting /dev/shm : Mounting /dev/pts : Mounting other filesystems : Mounting /dev/sda1 : EXT3-fs: barriers not enabled
kjournald starting. Commit interval 5 seconds
EXT3-fs (sda1): using internal journal
EXT3-fs (sda1): recovery complete
EXT3-fs (sda1): mounted filesystem with writeback data mode
Sync command ...Error opening /dev/fb0: No such file or directory
Starting udev
udev[115]: starting version 164
udevd-work[123]: error changing net interface name eth0 to eth14: Device or resource busy
EXT3-fs: barriers not enabled
kjournald starting. Commit interval 5 seconds
EXT3-fs (mmcblk0p2): warning: mounting fs with errors, running e2fsck is recommended
EXT3-fs (mmcblk0p2): using internal journal
EXT3-fs (mmcblk0p2): recovery complete
EXT3-fs (mmcblk0p2): mounted filesystem with writeback data mode
*** Bootargs Validated for mem param ***
*** Bootargs Validated for notifyk.vpssm3 params ***
Kernel bootargs validated
numid=1,iface=MIXER,name='PCM Playback Volume'
; type=INTEGER,access=rw---R--,values=2,min=0,max=127,step=0
: values=127,127
| dBscale-min=-63.50dB,step=0.50dB,mute=0
[c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
[m3video] Remote Debug Shared Memory @ 0xbff10820
[m3vpss ] Remote Debug Shared Memory @ 0xbff21040
SysLink version : 2.20.02.20
SysLink module created on Date:May 4 2015 Time:21:43:12
Trace enabled
Trace SetFailureReason enabled
Setting DMM priority for [DUCATI ] to [0] ( 0x4e000624 = 0x08000000 )
Setting DMM priority for [HDVICP0 ] to [2] ( 0x4e000634 = 0x0000000a )
*** TVP5158 probe : START ***
TI VS EVM : TVP5158 device address : 0x58, 0x5a, 0x5c, 0x5e
TI DVR : TVP5158 device address : 0x58, 0x59, 0x5a, 0x5b
Device found : I2C (0xXX): 0x08 = 0x51
I2C (0xXX): 0x09 = 0x58
Device NOT found : I2C (0xXX): Read ERROR !!! (reg[0x08], count = 2)
ERROR (osa_i2c.c|OSA_i2cTestMain|263): OSA_i2cOpen( instId = 3 )
ERROR (osa_i2c.c|OSA_i2cTestMain|263): OSA_i2cOpen( instId = 3 )
ERROR (osa_i2c.c|OSA_i2cTestMain|263): OSA_i2cOpen( instId = 3 )
ERROR (osa_i2c.c|OSA_i2cTestMain|263): OSA_i2cOpen( instId = 3 )
ERROR (osa_i2c.c|OSA_i2cTestMain|263): OSA_i2cOpen( instId = 3 )
ERROR (osa_i2c.c|OSA_i2cTestMain|263): OSA_i2cOpen( instId = 3 )
*** TVP5158 probe : END ***
/opt/dvr_rdk/ti814x
Attached to slave procId 2.
Unable to handle kernel NULL pointer dereference at virtual address 0000000e
pgd = c36d0000
[0000000e] *pgd=834dd031, *pte=00000000, *ppte=00000000
Internal error: Oops: 17 [#1]
last sysfs file: /sys/devices/virtual/syslinkipc/syslinkipc_ClientNotifyMgr/uevent
Modules linked in: syslink
CPU: 0 Not tainted (2.6.37 #78)
PC is at OsalKfile_open+0xac/0x190 [syslink]
LR is at path_put+0x30/0x34
pc : [<bf021010>] lr : [<c00cd8a0>] psr: 20000013
sp : c436fd70 ip : c436fc80 fp : c436fdac
r10: 00000000 r9 : 00000000 r8 : 00000000
r7 : c436fdc4 r6 : ccf11000 r5 : ccf14000 r4 : fffffffe
r3 : c4ab9a80 r2 : 000000d8 r1 : 000000d9 r0 : fffffffe
Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
Control: 10c5387d Table: 836d0019 DAC: 00000017
Process fw_load.out (pid: 627, stack limit = 0xc436e2e8)
Stack: (0xc436fd70 to 0xc4370000)
fd60: bf05b1e5 c436fdc4 00000001 bf000000
fd80: c436fdc4 c436fdc4 ccf11000 ccea3000 00000000 00000000 00000000 bf0ae238
fda0: c436fdec c436fdb0 bf009c00 bf020f70 ccf11000 00000000 00000000 00000000
fdc0: c8b3f000 ccf14000 ccea3000 ccf11000 00000000 00000000 bf0ae238 00000000
fde0: c436fe24 c436fdf0 bf001d4c bf009ba8 00000000 c436fec8 00000000 00000000
fe00: cceb5000 00000000 ccf11000 00000000 c436fec8 00000000 c436fe64 c436fe28
fe20: bf002db0 bf001cf4 00000000 c436fec8 00000000 00000000 00000038 bec62aa0
fe40: 00000000 c020e0a2 ccf11000 00000000 c436e000 00000000 c436fefc c436fe68
fe60: bf0051dc bf002d34 00000000 c436fec8 c404d0c0 c4913570 c436e000 0000001c
fe80: 4004f000 00000000 c436feb4 c436fe98 c0066a50 c00669bc 00000000 c436fea8
fea0: c0066a50 a0000013 c436fecc 0485f000 cceb5000 bec62dcf 00000038 00000000
fec0: 00000000 00000000 00000000 c0087ae0 c436ff24 c436fee0 c0209d24 c45d0900
fee0: 00000008 bec62aa0 00000008 00000000 c436ff74 c436ff00 c00d290c bf00492c
ff00: c4048200 00000000 00000000 00000000 c436e000 0000001c c4048208 00000002
ff20: c4913510 00000000 00000002 00000000 fffffffe 00000000 c436ff6c c436ff48
ff40: c03f953c c003c9ec ffffffff c485401c c4272100 bec62aa0 c020e0a2 00000008
ff60: 00000000 c436e000 c436ffa4 c436ff78 c00d29d8 c00d2448 c436ffac 00000001
ff80: c03f5dd0 00000000 0007f334 000521d4 00000036 c0041de8 00000000 c436ffa8
ffa0: c0041c40 c00d298c 00000000 0007f334 00000008 c020e0a2 bec62aa0 00000001
ffc0: 00000000 0007f334 000521d4 00000036 bec62aa0 c020e0a2 00000000 00000000
ffe0: 0007f64c bec62a68 0002b1c0 402be1cc 60000010 00000008 bf078fa0 00000008
Backtrace:
[<bf020f64>] (OsalKfile_open+0x0/0x190 [syslink]) from [<bf009c00>] (ElfLoader_load+0x64/0xfc [syslink])
[<bf009b9c>] (ElfLoader_load+0x0/0xfc [syslink]) from [<bf001d4c>] (Loader_load+0x64/0x94 [syslink])
[<bf001ce8>] (Loader_load+0x0/0x94 [syslink]) from [<bf002db0>] (ProcMgr_load+0x88/0xe8 [syslink])
[<bf002d28>] (ProcMgr_load+0x0/0xe8 [syslink]) from [<bf0051dc>] (ProcMgrDrv_ioctl+0x8bc/0x14d4 [syslink])
[<bf004920>] (ProcMgrDrv_ioctl+0x0/0x14d4 [syslink]) from [<c00d290c>] (do_vfs_ioctl+0x4d0/0x544)
r8:00000000 r7:00000008 r6:bec62aa0 r5:00000008 r4:c45d0900
[<c00d243c>] (do_vfs_ioctl+0x0/0x544) from [<c00d29d8>] (sys_ioctl+0x58/0x7c)
r9:c436e000 r8:00000000 r7:00000008 r6:c020e0a2 r5:bec62aa0
r4:c4272100
[<c00d2980>] (sys_ioctl+0x0/0x7c) from [<c0041c40>] (ret_fast_syscall+0x0/0x30)
r8:c0041de8 r7:00000036 r6:000521d4 r5:0007f334 r4:00000000
Code: e3a09000 e1a04000 e9850050 e5875000 (e5903010)
---[ end trace 1bee01bb20f87f3d ]---
I also see in memory map that linux should start in 0x80000000 :
./build/dvr_rdk/bin/ti814x-evm/dvr_rdk_m3vpss_release_512M_128M.xem3.map
Is there any idea why the additional @0x8000000 , caused this crash ?
Regards,
Ran