Go Back   Home > Forums > Source & Line > Digital Source

Digital Source Digital Players and Recorders: CD , SACD , Tape, Memory Card, etc.

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 25th August 2011, 01:32 AM   #1
diyAudio Member
 
Wavebourn's Avatar
 
Join Date: Sep 2006
Location: Pleasant Hill, CA
Send a message via Skype™ to Wavebourn
Default How to boot/debug ARMv5 Linux box?

Hi!

I have a box based on ARMv5 architecture. It runs Linux.

Due to an error in rc file it hangs on loading of the main application, before ifconfig sets up network address, so I can't access it.

I wonder, how do they upload software on the flash memory initially, or how do they debug it?

The box has i2c interface with few buttons, but it does not work because the main application won't load. When I press and hold Enter button before powering it on, it does not boot. I may assume, it is waiting for some input somewhere, for kind of alternate boot that may be usable. Also, if I connect a keyboard to USB port and press Ctrl-Alt-Dell 3-finger salute, it reboots. However, getty is not up, it is commented out in init, but the box has /dev/console.

It has some 4-pin socket on the board. Is it kind of I/O? Like, UART?
Also, it has a socket that looks like JTAG, but I did not deal with embedded computers, so don't know how to use it.

Any information will be greatly appreciated!

The box is called Night Owl DVR K-8500

It has 8 BNC video ins, one audio in, 1 audio out, 1 video out, and VGA out.
I have another one that is alive, so can login and compare/perform some investigations.

I have a firmware upgrade for it, but it loads by still the same main app from USB device, so I even don't know it's format. It may contain some raw chunk of a flash image. What I know for shure, it is not a cramfs image.

Also, I have a complete Linux system for ARMv5 in crams format, but don't know how to boot it. It has even X11 preconfigured...
__________________
If I disappear suddenly, that means I finally created a time machine and pushed wrong button that brought me to Stalin's Russia. In any experiment any result is the result. Even if it is negative.
  Reply With Quote
Old 25th August 2011, 12:26 PM   #2
diyAudio Member
 
Join Date: Jun 2004
Location: uk
Quote:
Originally Posted by Wavebourn View Post
Hi!

I have a box based on ARMv5 architecture. It runs Linux.

Due to an error in rc file it hangs on loading of the main application, before ifconfig sets up network address, so I can't access it.

I wonder, how do they upload software on the flash memory initially, or how do they debug it?

The box has i2c interface with few buttons, but it does not work because the main application won't load. When I press and hold Enter button before powering it on, it does not boot. I may assume, it is waiting for some input somewhere, for kind of alternate boot that may be usable. Also, if I connect a keyboard to USB port and press Ctrl-Alt-Dell 3-finger salute, it reboots. However, getty is not up, it is commented out in init, but the box has /dev/console.

It has some 4-pin socket on the board. Is it kind of I/O? Like, UART?
Also, it has a socket that looks like JTAG, but I did not deal with embedded computers, so don't know how to use it.

Any information will be greatly appreciated!

The box is called Night Owl DVR K-8500

It has 8 BNC video ins, one audio in, 1 audio out, 1 video out, and VGA out.
I have another one that is alive, so can login and compare/perform some investigations.

I have a firmware upgrade for it, but it loads by still the same main app from USB device, so I even don't know it's format. It may contain some raw chunk of a flash image. What I know for shure, it is not a cramfs image.

Also, I have a complete Linux system for ARMv5 in crams format, but don't know how to boot it. It has even X11 preconfigured...
Hi

Usually firmware/OS is loaded through the JTAG. Debug can be through here two.

Once alive the kernal usually communicates through one of the serial ports.

As the USB port responds to the three finger salute then the serial port should be up and available.

Barry
  Reply With Quote

Reply


Hide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help debug my site zivyp Vendor's Bazaar 0 3rd February 2009 10:09 AM
help debug regulated psu milen007 Parts 16 5th October 2008 05:29 AM
Please help me debug my Headphone Amplifier rhavecilla Headphone Systems 7 10th August 2007 02:22 AM
Tedelex PSU debug Nordic Power Supplies 3 4th February 2006 11:17 AM
How to debug tweeter tomchaoda Multi-Way 1 7th March 2004 03:58 AM


New To Site? Need Help?

All times are GMT. The time now is 03:14 PM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright 1999-2014 diyAudio

Content Relevant URLs by vBSEO 3.3.2