Other Parts Discussed in Thread: TVP5158
We are currently using DM365 DVR RDK and would like to customize it login function. At the end of system bring-up messages, it shows login prompt as the following:
.(more messages before this)
MCVIP: TVP5158 init done !!!
MCVIP: Audio Enable !!!
REMOTEPLAY_create()
MCVIP: Audio channel selected is 1
@@@@@@@@@@@@@@@AUDIO_Init()gSETPARAM_info.audioInfo.Volume[8]
DRV:REC blockSize = 8192,sampleRate = 8000
DRV:PLAY blockSize = 1024,sampleRate = 8000
DRV:REC blockSize = 8192,sampleRate = 8000
DRV:PLAY blockSize = 1024,sampleRate = 8000
MCVIP: TVP5158 set audio volume[8] for channel[0]
MCVIP: Start DONE !!!
MontaVista(R) Linux(R) Professional Edition 5.0.0 (0801921)
192.168.1.200 login:
What we'd like to do is to allow auto-login - the system does not wait for entering user id and password and goes straight to system prompt (shell prompt) waiting for
user command input.
With this objective in mind, we figure we need to customize its login service, which is /bin/login, once logged into the target. On further checking, the login.c code is in
/opt/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le/target/usr/src/debug/shadow-4.0.13/src/login.c, which comes with TI's RDK package. However, some required header files for recompiling login.c file seems to be missing, including getdef.h, prototypes.h, and pwauth.h.
Any help would be appreciated in pointing us to obtain those header files.
Thanks,