Jump to content
ryn0909

serial debug console

Recommended Posts


ok ill give it a try, there is a reset button on the mainboard, should i use that to reset it?

Don't know but i don't think so help!

Share this post


Link to post
Share on other sites

Is there any way to interrupt the boot process via usb or ethernet. what would happen if i used a cross over cable and linked it directly to my pc.

Share this post


Link to post
Share on other sites
Is there any way to interrupt the boot process via usb or ethernet. what would happen if i used a cross over cable and linked it directly to my pc.

tries all reasonable facilities

Share this post


Link to post
Share on other sites

ok so now i have a bigger problem, for some reason, the network settings are screwed up and when i change them to what they should be, i save it but the setting go right back to where they were..... heres what im talking about>

 

Login as ADMIN---> setup---->system setup--->network---> IP SETUP.

 

CURRENT SETTINGS

 

DHCP: (checkbox) checked

Web Service: (checkbox) checked

 

Ip Address: 255.255.255.255

Gateway: 0.0.0.0

Subnet Mask: 255.255.255.255

1st DNS Server: 192.168.1.1

2nd DNS Server: 0.0.0.0

 

CORRECT SETTINGS

 

DHCP: (checkbox) checked

Web Service: (checkbox) checked

 

Ip Address: 192.168.1.149

Gateway: 192.168.1.1

Subnet Mask: 255.255.255.0

1st DNS Server: 0.0.0.0

2nd DNS Server: 0.0.0.0

 

In order to change the ip addresses, i have to "UNCHECK" the DHCP checkbox. When i do that, it allows me to change the addresses how i want to but when i click on save at bottom of page, it will save it but as soon as i exit the menu and re-enter the menu, the settings have changed back to what they were previously. I have done the factory reset using the "hotkey" and its still doing the same thing. so as it sits now, i have no NETWORK access to the unit whatsoever. the serial debug console still works tho

Share this post


Link to post
Share on other sites

i think with all the hotkey attempts, i may have messed something up. because no matter what i try, the network settings will not stay saved and its not allowing it to obtain the correct ip address

Share this post


Link to post
Share on other sites

well theres a problem with the nand memory

 

DM646x initialization passed!

TI UBL Version: 1.50

Booting Catalog Boot Loader

BootMode = NAND

Starting NAND Copy...

Valid magicnum, 0xA1ACED66, found in block 0x00000006.

DONE

Jumping to entry point at 0x81080000.

 

 

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 ]]

[Disk Sleep [0]]

[Disk Sleep [1]]

[Disk Sleep [2]]

[ATA Ready pin is not ready!! Hdd Disk[2]]

[Disk Sleep [3]]

[before Shutdown => normal shutdown]

Share this post


Link to post
Share on other sites
found similar type unit reset- maybe something like this out there for your unit:-

 

 

 

yea i tried that but no go. Ive contacted mfg. co. several times and they only responded once saying they cant help me. if i coiuld just get the firmware file for it, id be happy with that.

Share this post


Link to post
Share on other sites

im at work rite now and i just had an idea that ill try when i get home.... one of the "hotkeys" is for console enable, maybe i need to use that hotkey to enable console in order to be able to stop autoboot.?? because it seems like the system isnt accepting any commands until after it loads the kernel, which is way past the "press any key to stop autoboot" part. ohh boy am i excited to get home and try it. i hope this works lol

 

 

update: im sure it has something to do with it, but so far no dice

Share this post


Link to post
Share on other sites

ok well i finally managed to get my hands on the firmware file for this unit. its quite large in size (89.4mb) and it has a .nbn extension. can i modify this file to set the autoboot delay to 3? if so, can i use a hex editor to do so?

Share this post


Link to post
Share on other sites

UPDATE

 

I finally managed to stop the AUTOBOOT via the rs232 connection to my pc. apparently there is a key sequence that you must press using the RC (remote control) it goes as follows: L mouse button, R mouse button, rewind button, fast forward button then pause button. the unit will give a few short beeps as it powers on from standby mode. That key sequence allows the boot process to be interrupted by using the * key on the numerical keypad section of the keyboad. so i am now able to get a command prompt, such as: DM6467 EVM#

 

......Ill post updates as i continue to make progress.....

Share this post


Link to post
Share on other sites
UPDATE

I finally managed to stop the AUTOBOOT via the rs232 connection to my pc.........

Barely half a year

Share this post


Link to post
Share on other sites
Type help and put log here!

 

=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2015.05.11 01:25:37 =~=~=~=~=~=~=~=~=~=~=~=

help

help

 

? - alias for 'help'

alarm - alarm in

all_set_env - environment variable setting

alpu - alpu test

anf1648_spot [[input ch] or [off]] [output ch] - anf1648 spot test

ata - ata test port(0,1,2,3)

atm0424_spot [ch_num(1~4) or 0 is all off] - atm0424 spot test

atm1624_spot [ch_num(0~15) or off] - atm1624 spot test

atm_fs_wr [filename] - atm filesystem write ex) atm_fs_write [jffs2 image name]

autoscr - run script from memory

base - print or set address offset

bdinfo - print Board Info structure

beef_test [usec]

boot - boot default, i.e., run 'bootcmd'

bootd - boot default, i.e., run 'bootcmd'

bootm - boot application image from memory

bootp - boot image via network using BootP/TFTP protocol

bz - bz [on] or [off]

cls - clear screen

cmp - memory compare

coninfo - print console devices and information

cp - memory copy

cp_rev - nand flash reverse copy

crc32 - checksum calculation

ddc test - ddc testdhcp - invoke DHCP client to obtain IP/boot params

disp_fw_ver - f/w version display

driver_test - dt [sensor] or [panel] or [reset] or [js] or [rc] [st]

echo - echo args to console

env_erase [nor or nand]

erase - erase FLASH memory

fact mk_master [filename] [address] - firmware file load(from tftp)

fact nand_copy [reverse or none_reverse] - nand copy

fact nand_erase - nand erase and create bbt

fact init - nand init

fact nand_dump [cnt] - nand dump as page cnt

fact markbad [nand_chipsel(0or1)] [offset] - nand markbad in oob data

fact markbad_release [nand_chipsel(0or1)] [offset] - nand bad block mark release

fact lcd - lcd display test

fact buzzer - buzzer test

fact uur - uboot upgrade (CS2=>CS3)

fact chipsel [chip_num] - nand chip select change

factv fs - verify filesystem

factv ker - verify kernel

factv fpga - verify fpga

fan - fan [on] or [off]

flinfo - print FLASH memory information

fpga up [tftp or nand] - fgpa upgrade

fpga rd [addr] - fgpa addr dump

fpga er [blk_num] - fgpa block erase

fpga id - fgpa id read

fs1648 - fs1648 init

fw_hparam get - get boot param

fw_hparam set eth [mac address] - set mac address

fw_hparam set pt [pannel type] - set pannel type

fw_hparam set hw_ver [hw_ver] - set h/w version

fw_hparam set vendor [vendor name] - set vendor name

fw_param_erase - firmware paremeter erase

fw_seq_read - current seqence read

fw_seq_up - sequence number pdate

fw_ublup - uboot upgrade with nand or tftp

fw_uboot_ublup - uboot upgrade with nand or tftp

go - start application at address 'addr'

goboot - firmware boot select

godown - firmware down grade

help - print online help

hhh

icrc32 - checksum calculation

iloop - infinite loop on address range

imd - i2c memory display

iminfo - print header information for application image

imls - list all images found in flash

imm - i2c memory modify (auto-incrementing)

imw - memory write (fill)

inm - memory modify (constant address)

iprobe - probe to discover valid I2C chip addresses

itest - return true/false on integer compare

lcd_test - lcd test [clr] or lcd test [x] [y] [string]

led test

loadb - load binary file over serial line (kermit mode)

loads - load S-Record file over serial line

loady - load binary file over serial line (ymodem mode)

loop - infinite loop on address range

mcompare - compare between memory and memory

md - memory display

mdin220 init - midin220 intialize

mdin220 write [reg] [data] - midin220 reg write

mdin220 read [reg] - midin220 reg read

mdin220 id - midin220 read device id

mdin240 init - mdin240 intialize

mdin240 write [reg] [data] - mdin240 reg write

mdin240 read [reg] - mdin240 reg read

mdin240 mwrite [reg] [data] [data].. - mdin240 reg write

mdin240 mread [reg] [length] - mdin240 reg read

mdin240 id - mdin240 read device id

mdin240_init - mdin240 initnitializemm - memory modify (auto-incrementing)

mtest - simple RAM test

mw - memory write (fill)

nand - NAND sub-system

nand_bmp_up_pong - bmp write in pong bmp sectioin

nand_rw_test - nand read / write testnnand_test - nand test

nboot - boot from NAND device

nfs - boot image via network using NFS protocol

njw check - njw1156a device check

njw read l - left volume read

njw read r - right volume read

njw write l [val] - left volume write

njw write r [val] - right volume write

nm - memory modify (constant address)

ntest - just nand test command

- ntest bad [block_num]

- ntest erase [block_num] [page_num]

- ntest read [block_num] [page_num]

ping - send ICMP ECHO_REQUEST to network host

printenv- print environment variables

protect - enable or disable FLASH write protection

qc_test - enter qc test(one more press keypad '1')

rarpboot- boot image via network using RARP/TFTP protocol

relay - relay test

renv - env_reloadreset - Perform RESET of the CPU

rs485 [uart num] - rs485 [uart num]

rtc - rtc init

- rtc read

- rtc write year mon day hour minute second [wday] => wday for ds1339

run - run commands in an environment variable

saa7121 - saa7121

saveenv - save environment variables to persistent storage

sc_rc - sc_rc

setenv - set environment variables

sleep - delay execution for some time

spi_init- spi init

spi_read- spi_read addr(hex) length(hex)

spi_write- spi_write addr(hex) data(hex)

test_rc - remocon test

tftpboot- boot image via network using TFTP protocol

timer [sec] - timer tick test

timer_test - timer test

tw286x init - tw286x initialize

tw286x rd [register] - tw286x register read

tw286x wr [chip_num] [register] [data] - tw286x register read

uart init [uart_num] [is_loopBack_enable] - uart init

uart rx [uart_num] - receive string

uart tx [uart_num] [string] - transmit string

uart tx.g [uart_num] [genesis cmd] - tx.g is for genesys command

uart2 test

uart_p - uart print read value 50

uart_r - uart read

uart_r2 - uart 2 read

uart_w - uart write

uart_w2 - uart2 write

fw_uboot_check - uboot upgrade variable check

uwrite - uboot upgrade command

version - print monitor version

video_test color_bar - video color bar test

video_test gray_scale [divide] - video gray scale test

vmux_init - video mux initialize

vp [display_img] - display image from nand

vp [display_clr] - diaplay clear (white)

vp [pal] - pal logo test

vp_cap - video capture test

vp_rise - Set vpif clock 27MHz

yyy - uart init

DM6467 EVM #

Share this post


Link to post
Share on other sites

and here is the PRINTENV log....

 

DM6467 EVM # printenv printenv

bootargs=console=ttyS0,115200n8 ninitrd rw ip=192.168.100.79:192.168.100.10:192.168.100.1:255.255.255.0 root=/dev/nfs nfsroot=192.168.100.10:/home/evm/filesys,nolock mem=120M eth=00:11:60:ff:00:79

baudrate=115200

rootpath=/home/evm/filesys_anf

bootfile=_anf_1648/anf1648_uImage.900M

kerimgfile=_anf_1648/anf1648_uImage.900M

ubootfile=_anf_1648/anf1648_uboot.bin

stdin=serial

filesize=940

fileaddr=84000000

netmask=255.255.255.0

ipaddr=192.168.100.79

serverip=192.168.100.10

bootnand=nboot.i 80200000 0 $(nand_ker_base)

param1=setenv bootargs console=ttyS0,115200n8 noinitrd rw

param2=setenv bootargs $(bootargs) ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):anfdvr:eth0:

param2_noip=setenv bootargs $(bootargs) ip=::::NFDVR:eth0:off

param3=setenv bootargs $(bootargs) root=/dev/nfs nfsroot=$(nfshost):$(rootpath),nolock

param3_yaffs2=setenv bootargs $(bootargs) root=/dev/mtdblock9 rootfstype=yaffs2

param3_jffs2=setenv bootargs $(bootargs) root=/dev/mtdblock9 rootfstype=jffs2

param4=setenv bootargs $(bootargs) mem=120M eth=$(ethaddr)

mkparam=run param1 param2 param3 param4

mkparam_yaffs2=run param1 param2 param3_yaffs2 param4

mkparam_yaffs2_noip=run param1 param2_noip param3_yaffs2 param4

mkparam_jffs2_noip=run param1 param2_noip param3_jffs2 param4

setbfile=set bootfile $(kerimgfile)

bootcmd7=goboot;run mkparam_yaffs2_noip bootnand;bootm;

bmode7=setenv bootcmd $(bootcmd7)

uur=tftp 84000000 $(ubootfile); fw_uboot_ublup tftp

tmp_addr=0x84000000

nand_ker_len=0x400000

nand_ker_base=0x800000

nand_ker_limit=0xc00000

ulkerimg=tftp $(tmp_addr) $(kerimgfile)

nand_ker_up=run ulkerimg nand_ker_er nand_ker_wr

nand_ker_wr=nand write $(tmp_addr) $(nand_ker_base) $(nand_ker_len) $(nand_ker_limit)

nand_ker_rd=nand read $(tmp_addr) $(nand_ker_base) $(nand_ker_len) $(nand_ker_limit)

nand_ker_er=nand erase $(nand_ker_base) $(nand_ker_len)

nand_bmp_base=0x600000

nand_bmp_limit=0x800000

logo=run nand_bmp_rd nand_bmp_go

ulbmplogo=tftp $(tmp_addr) $(logobmpfile)

nand_bmp_up=run ulbmplogo nand_bmp_er nand_bmp_wr

nand_bmp_wr=nand write $(tmp_addr) $(nand_bmp_base) $(nand_bmp_len) $(nand_bmp_limit)

nand_bmp_rd=nand read $(tmp_addr) $(nand_bmp_base) $(nand_bmp_len) $(nand_bmp_limit)

nand_bmp_er=nand erase $(nand_bmp_base) $(nand_bmp_len)

bootcmd=goboot;run mkparam_yaffs2_noip bootnand;bootm;

passwd=qwerty

gatewayip=192.168.1.1

stdout=serial

stderr=serial

model_type=ANF_1648

nand_bmp_len=0x200000

signal_type=ntsc

ethaddr=00:11:5F:06:80:61

bootdelay=1

Share this post


Link to post
Share on other sites
If you can provide a link to the firmware I can try and take a look.

 

 

 

here a link to my ftp server so u can download the firmware file, once you dl it, let me me know i pm'd you the link

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

×