Jump to content
ryn0909

serial debug console

Recommended Posts


yea i know the password for the gui login..... its the serial debug console that i cant figure out... ive tried all the typical pswd's

Share this post


Link to post
Share on other sites
yea i know the password for the gui login..... its the serial debug console that i cant figure out... ive tried all the typical pswd's

 

Stop boot from console

use u-boot command & tftp server to download firmware from flash

Share this post


Link to post
Share on other sites
yea i know the password for the gui login..... its the serial debug console that i cant figure out... ive tried all the typical pswd's

 

Stop boot from console

use u-boot command & tftp server to download firmware from flash

 

 

 

 

im not familiar with u-boot commands, can you pls explain to me?

Share this post


Link to post
Share on other sites

well i guess stopping the boot process is a little more complicated than i thought. i can see in the log that it gives 0 seconds to "press any key" and ive tried and tried and still cant get it to stop. i guess when i was getting the login prompt, it was from the "hot key sequence". which i did find a change in the logfile that shows the following......

[/size]

debug-Message: nf_debug_category_add cate[sysman] log_str[0x00205f60] log_arr[0x00205fe0] log_arr_max_idx[3] [1]

sysman-Message: nf_sysman_hotkey_init cmdline[console=ttyS0,115200n8 noinitrd rw ip=::::NFDVR:eth0:off root=/dev/mtdblock9 rootfstype=yaffs2 mem=120M eth=00:11:5F:06:80:61 fw_upgrade_temp num_ch=16 signal_type=ntsc model_type=ANF_1648 crc_ubl=99c953dd crc_ker=ab3ddeba crc_fpga=15a5290d pannel_type=ITX-5 rc_type=AVR4816-ITX hw_ver=MAFS116C

]

sysman-Message: nf_sysman_hotkey_init _factory_default [0]

sysman-Message: nf_sysman_hotkey_init _passwd_reset [0]

sysman-Message: nf_sysman_hotkey_init _fwupgrade [0]

sysman-Message: nf_sysman_hotkey_init _qa [0]

sysman-Message: nf_sysman_hotkey_init _consol_enable [0]

sysman-Message: nf_sysman_hotkey_init _is_nfs [0]

sysman-Message: nf_sysman_hotkey_init _boot_mtd_num [9]

sysdb-Message: nf_sysdb_init wait[1] load_data[1]

 

I have figured out that the HOTKEY sequence is achieved by holding down DISPLAY, SETUP, and ANY NUMBER and plugging the power cord into wall.

DISPLAY, SETUP, NUMBER1 = factory_default

NUMBER2 = passwd_reset

NUMBER3 = fwupgrade

NUMBER4 = qa (fwdowngrade)

NUMBER5 = consol_enable

NUMBER6 = is_nfs (??)

NUMBER7 = boot_mtd_num

Share this post


Link to post
Share on other sites

From your log!!!

 

U-Boot-1.2.0 (Mar 25 2010 - 18:51:36)

 

I2C: ready

DRAM: 256 MB

unknown vendor=0 Flash: 0 kB

NAND: Bad block table found at page 131008, version 0x01

Bad block table found at page 130944, version 0x01

256 MiB

In: serial

Out: serial

Err: serial

ARM Clock :- 493MHz

DDR Clock :- 408MHz

[ANF1648 Initialize]

[sPI INIT]

System Reset Check..was passed

[signal Type is [NTSC]]

[ANF1648 Spot Init]

[Pannel Type is ITX-5 ]

[RC Type is AVR4816-ITX ]

[Mac address [00:11:5F:06:80:61 ]]

[before Shutdown => abnormal shutdown]

Hot Key MAGIC_KEY_PASSWD_RESET

[Tw286x Initialize / Signal Type : NTSC]

[TW2865 dev[0x28] done]

[TW2865 dev[0x29] done]

[TW2865 dev[0x2a] done]

[TW2865 dev[0x2b] done]

[Fan On]

[FB ADDR [0x8e000000]]

Reading data from 0x7ff800 -- 100% complete.

[MDIN240 Initialize]

[** Warning ** HDMI/DVI DDC Edid CheckSum Error!!!]

[** Warning ** Analog DDC Edid CheckSum Error!!!]

[Video Output Infomation : Unknown Video Size Set Default 1024x768p60]

[MDIN240 HDMI INIT]

[set Output Video Clocks 27MHz]

[Turn_On_DSP]

[uART2 INIT]

[uART1 INIT]

Hit any key to stop autoboot: 0

Share this post


Link to post
Share on other sites
lol you totally lost me, i have no idea what your are talking about

 

After start your dvr and then you'll see boot log

Hit any key to stop autoboot: 0

in 3 second

Then you in u-boot

command

printenv

- for enviroment list

help

- for help

Share this post


Link to post
Share on other sites
ok the only problem is tha no matter which key i press, it doesnt stop the boot process.....

For ex: dahua use * in digit keybord (rigth)

other may use specific key

 

What COM port config on your PC?

Share this post


Link to post
Share on other sites

ok so still no luck at getting it stopped. i dont think the commands are getting thru to the console until after it has passed the stop autoboot point. im using PuTTY, maybe its not configured properly?

Share this post


Link to post
Share on other sites
ok so still no luck at getting it stopped. i dont think the commands are getting thru to the console until after it has passed the stop autoboot point. im using PuTTY, maybe its not configured properly?

But after bootload you can enter login name & pass - so it's configured ok!

Try in Hyperterminal on NCOM

Share this post


Link to post
Share on other sites

yea i guess you're right, it must b configured correctly... hmmm would you happen to know what it means when it says console mode enabled? its one of the hotkey modes

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×