LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Mobile
User Name
Password
Linux - Mobile This forum is for the discussion of all topics relating to Mobile Linux. This includes Android, Tizen, LiMo, Maemo, MeeGo, Openmoko, Ubuntu Mobile, WebOS, Firefox OS, Open Mobile Alliance and other similar projects and products.
A reminder that LQ now has a dedicated Android sister site: AndroidQuestions.org

Notices

Reply
 
Search this Thread
Old 03-04-2011, 01:13 AM   #16
justboo2u
Member
 
Registered: Feb 2011
Distribution: Ubuntu, Debian(ARM),XP,W7,CP/M
Posts: 126

Original Poster
Rep: Reputation: 20
The 'Defect' result...


This is what it does now...

WonderMedia Technologies, Inc.
W-Load Version : 0.17.00.00
ethaddr............found


U-Boot 1.1.4 (Apr 1 2010 - 16:26:54)
WonderMedia Technologies, Inc.
WMT U-Boot Version : 0.12.01.00.14
U-Boot code: 03F80000 -> 03FB9294 BSS: -> 040076AC
RAM Configuration:
Bank #0: 00000000 128 MB
boot from spi flash.
flash:
Bank1: FF800000 -- FFFFFFFF
Bank2: FF000000 -- FF7FFFFF
Flash: 16 MB
In: serial
Out: serial
Err: serial
### main_loop entered: bootdelay=1

bootcmd="mmcinit;fatload mmc 0 0 script/logo.bmp;cp.b 0 c300000 11ffff;logo show"
THIS is where I screwed things up!
ATSMB Host 390KHz

SD2_0 : SDHC card!

Init : card selected !

SD:Four Bits Mode!
SD Card High Speed!

Initial SD Card OK!
ATSMB Host 25MHz
SD clock is 25Mhz
register mmc device
part_offset : 10, cur_part : 1
part_offset : 10, cur_part : 1
reading script/logo.bmp
Tina_Match: isdir 0x1######################
mydata :
Size of clusters in sectors : 8
The sector of the first cluster, can be negative : f40
Current FAT buffer : 03f4d704
fatbufnum : ffffffff
Length of FAT in sectors : 798
Size of FAT in bits : 20
Starting sector of the FAT : 20
Start sector of root directory : f50

1152054 bytes read


If ANYONE can help me 'clean' this thing up, I'd appreciate it!


EDIT (3-4-11) 'affecting' the BMP doesnt help, nor having the SD card out...
I fear I have another battery-operated paperweight. Ugh.
If I cannot find a way to sneak back in... I'll have to close this thread.
At least I learned ALOT... but it wouldnt be worth buying YET ANOTHER one to go again.

Standing by...

Last edited by justboo2u; 03-04-2011 at 09:30 PM.
 
Old 03-06-2011, 06:53 PM   #17
justboo2u
Member
 
Registered: Feb 2011
Distribution: Ubuntu, Debian(ARM),XP,W7,CP/M
Posts: 126

Original Poster
Rep: Reputation: 20
Workin' in da coal mine... goin' DOWN, down, down!

I have been unsuccessful in finding any other way to clear the stored 'oops' that I made...

So,

I am going to delve into the idea of removing/reprog-ing/replacing the SPI flash. X 2k!

This means tho, that I can 'experiment' with the 'hard brick',
(New name designation - original 'get-NOTHING-from-it' machine is the 'hard brick',
while the current 'gets-logo-loaded-and-sits-there' machine is the 'soft brick'.)
and, presuming I am successful with it,
will be able to replicate the process for the 'soft brick'.
Since BOTH are now setup for the serial I/O connection, I can then manipulate their innards to my heart's content!
(Are my eyes starting to look a bit 'slanted'? )

So, NO closing of the rabbit hole, please!
HEY ALICE!!! WAIT for ME!!

Last edited by justboo2u; 03-06-2011 at 06:56 PM.
 
Old 03-07-2011, 06:17 PM   #18
justboo2u
Member
 
Registered: Feb 2011
Distribution: Ubuntu, Debian(ARM),XP,W7,CP/M
Posts: 126

Original Poster
Rep: Reputation: 20
Oh HAPPY DAY! (oh happy day!)

Oh happy day!
When I realized (last nite) that the 'soft brick' has a JTAG connector spot!

WMT-1.jpg

Now all I have to do is find a suitable connector/software to work with it!

It still leaves the problem of the 'hard brick' tho... Perhaps going with an actual SPI programmer and removing the chips (which would need done to the 'hard brick' anyway) would be the better 'long-term' bet.

Perhaps the 'soft brick' should become a programming station... Hmmmmmmm...


EDIT:
Im getting confused... everything Ive read claims that the 25040t (Edit: MAY be 25 Q 40) chip shown on the CPU board is a 4k (8M)-BIT SPI chip... meaning only 512(k) bytes...
NO WAY that thing can hold 16Mb of data as suggested by u-boot and the mtdblock info!

Is it being held INTERNALLY by the 8505?
IF that is true there is NOTHING I can do about the 'hard brick'... since it has no JTAG connectors (that I am aware of...)

Downer.

Last edited by justboo2u; 03-14-2011 at 07:32 PM. Reason: lousy math! :/
 
Old 03-07-2011, 09:44 PM   #19
fbsduser
Member
 
Registered: Oct 2009
Distribution: Hackintosh, SlackWare
Posts: 266

Rep: Reputation: 30
Quote:
Originally Posted by justboo2u View Post
Oh happy day!
When I realized (last nite) that the 'soft brick' has a JTAG connector spot!

Attachment 6346

Now all I have to do is find a suitable connector/software to work with it!

It still leaves the problem of the 'hard brick' tho... Perhaps going with an actual SPI programmer and removing the chips (which would need done to the 'hard brick' anyway) would be the better 'long-term' bet.

Perhaps the 'soft brick' should become a programming station... Hmmmmmmm...


EDIT:
Im getting confused... everything Ive read claims that the 25040t chip shown on the CPU board is a 4 k-BIT SPI chip... meaning only 512 bytes...
NO WAY that thing can hold 16Mb of data as suggested by u-boot and the mtdblock info!

Is it being held INTERNALLY by the 8505?
IF that is true there is NOTHING I can do about the 'hard brick'... since it has no JTAG connectors (that I am aware of...)

Downer.
It's maybe a sort of "ram-chip" soldered by the guys who made that "smartbook".
 
Old 03-09-2011, 01:52 AM   #20
justboo2u
Member
 
Registered: Feb 2011
Distribution: Ubuntu, Debian(ARM),XP,W7,CP/M
Posts: 126

Original Poster
Rep: Reputation: 20
Well, there are only 3 chips on the CPU daughterboard...

1) The CPU itself,
2) The 25040t SPI (apparently only 4M BITS (512 byte))
3) The 128Mb DDR2 RAM chip...

That's it... unless there are some hiding 'underneath'... and DAMN LITTLE room for that!

The 'hard brick' has a NAND flash (2Gb) on the board where this one is blank, but that is 'elsewhere'...

Once I can pick up some more desolder braid I will remove the 25040t and see if anything happens...


EDIT: work delayed due to 'lack of funds'... will resume later!

Last edited by justboo2u; 03-10-2011 at 07:27 PM.
 
Old 03-11-2011, 04:07 PM   #21
justboo2u
Member
 
Registered: Feb 2011
Distribution: Ubuntu, Debian(ARM),XP,W7,CP/M
Posts: 126

Original Poster
Rep: Reputation: 20
Some musings...

Im a-thinkin'.....

This 25040t may contain 'static data' that w-load uses to 'get things going'...
well before u-boot gets involved...

That could explain why it is a 4k-BIT device and not the 16Mb SPI mentioned...
Not that this info is going to help me any...

Just trying to rationalize why this 512-byte SPI exists when 16MEG is 'hiding' somewhere...

I dont mind playing 'cat & mouse'... but I feel like IM the mouse!




EDIT: Materials acquired... de-construction continues!

Last edited by justboo2u; 03-11-2011 at 04:10 PM.
 
Old 03-13-2011, 05:35 PM   #22
justboo2u
Member
 
Registered: Feb 2011
Distribution: Ubuntu, Debian(ARM),XP,W7,CP/M
Posts: 126

Original Poster
Rep: Reputation: 20
Some more digging...

Tore the 'hard brick' apart again last nite...
(Amazing how easy it is when the screws are left out!)
The ONLY OTHER IC I could find that MIGHT POSSIBLY be an SPI flash was:

an SOIC-8 with
028L1
P3476
on it.... just like that, 2 lines. (Necessary cause the little SOB is so... little. )
As NONE of that looks close enuf to a production code,
I can only guess that it ALL is a 'number' of some sort...

But...

I cannot find any reference to any SPI 128Mbit (16MB) flash chips that come CLOSE
to this...

I fear Im gonna have a collection of these broken things soon... I already paid for a sylvania-type beast, and may be picking up more...

At least Ill have plenty of 'comparison' items... gawd.
The 'soft brick' still does exactly the same thing.

I found an ethernet cross cable... not that it does any good right now....

May have to break down and get that JTAG interface like I threatened to do...


A side note...
These ICs are so FREAKING SMALL I have to take my contacts OUT and THEN use the READING GLASSES to see what's on 'em!
Even THEN, I often need the Ultra-SUPER flashlight shining 'just so'...

SUX getting old!!!

Last edited by justboo2u; 03-13-2011 at 05:43 PM.
 
Old 03-13-2011, 10:20 PM   #23
justboo2u
Member
 
Registered: Feb 2011
Distribution: Ubuntu, Debian(ARM),XP,W7,CP/M
Posts: 126

Original Poster
Rep: Reputation: 20
A little 'digital cartography'...

Meaning,

While I dont know if it has been done before, I am attempting to create a 'memory map' of what this beast looks like before linux gets its paws on it...

Linux probably would show me what I want to know... but that will have to wait until it RUNS AGAIN!

Will post what I learn 'for posterity'...

EDIT:
A preliminary in PDF format:
ARM-Map.pdf

also meaning,
Im here at work with an hour to go and... coming up with things to do!

EDIT:
Updated PDF ( change? FF7F not F7FF! details! )

Last edited by justboo2u; 03-16-2011 at 07:49 PM.
 
Old 03-17-2011, 03:51 PM   #24
justboo2u
Member
 
Registered: Feb 2011
Distribution: Ubuntu, Debian(ARM),XP,W7,CP/M
Posts: 126

Original Poster
Rep: Reputation: 20
Cool Here we go again!

Well, the Sylvania should be in the mailbox when I get home tonite...
It supposedly has a display issue, but as long as the u-boot hasnt been wiped out, I wont complain... Im sure the 'hard brick' can/will supply any (and I DO mean ANY) parts required/possible!)

While not officially the subject of this thread, I will include whatever useful info I can glean from it while oscillating about how/what to do with the 'soft brick'.

I am certain that the only way to correct its 'confusion' is to get the JTAG unit and learn how to use it.
Will likely order it from Ebay today... It is capable of directly programming SPIs as well as JTAG interfacing, so it will be more versatile than either/or.

Time to spend some more munny!
 
Old 03-18-2011, 04:35 PM   #25
justboo2u
Member
 
Registered: Feb 2011
Distribution: Ubuntu, Debian(ARM),XP,W7,CP/M
Posts: 126

Original Poster
Rep: Reputation: 20
Obvious differences...

1) The display is broken. (known issue)
.. No biggie - display from 'hard brick'. Problem fixed... all is good!

2) The version of CE-6 is better than the last one.
.. Unfortunately I didnt wait to make a copy of it.
.. Attempting to connect the Linux external messed things up as the internal NAND was not showing as /dev/sda
.. so the external drive did not show as /dev/sdb... and I lost the original CE in the process... Oh well.

3) Yet Another Version of the system board/CPU daughterboard...
.. This one has the NAND 'attached' like the 'hard brick'. It is also recognized as MTD bwo Linux.

4) The 2Gb NAND shows defects...
.. Wasnt expecting this... but am aware that it is somewhat common... perhaps the EXT2 transition will 'clear it up'... ? (hope, hope!)

5) NO JTAG connection!
.. I brick this one Im SCRWD!!!

Tonite I will 'serialize' it and talk directly to u-boot... With this unit I must relearn what I know to manipulate the internal NAND into EXT2, OR get into the idea of it being segmented (and learn how to re-segment it 'better')...

Once again, I get into a rush and mess things up. I thought I was going to brick this unit too... as I attempted to Android it, and it 'locked up' when trying to change w-boot!!! I had to power-off and feared the worst, but the Linux boot SD showed the 'slider-bar' so a SEVERE sigh of relief was heard!

I was able to confirm one thing... the attempt to load CE onto the 'soft brick' failed because the NAND was not configured as expected... this unit, even after the android failure, took the (inferior) CE reinstall just fine...

Going to play some here at work and see if it can be configured ext2 as the 'soft brick' was...
I think I like that arrangement better tho it will require more work with the logo/sysload/etc...


EDIT:
NO MORE ANDROID!!!! Not EVEN gonna try that again! Would rather have 'full-blown' Linux anyway!

Last edited by justboo2u; 03-18-2011 at 04:42 PM.
 
Old 03-19-2011, 04:17 PM   #26
justboo2u
Member
 
Registered: Feb 2011
Distribution: Ubuntu, Debian(ARM),XP,W7,CP/M
Posts: 126

Original Poster
Rep: Reputation: 20
Post Sylvania boot data...

Some interesting differences here, too.
Most notably, the SPI shows the INFO on it...
That it is 8.5Mb not 16...
That w-load AND u-boot are newer versions than Ive been working with.
Unknown what the ORIGINAL versions were in the 'hard' and 'soft brick's...

WonderMedia Technologies, Inc.
W-Load Version : 0.19.00.01 ** NEWER **
ethaddr............found


U-Boot 1.1.4 (Aug 11 2010 - 18:28:15)
WonderMedia Technologies, Inc.
WMT U-Boot Version : 0.12.01.00.27 ** NEWER**
U-Boot code: 03F80000 -> 03FBA184 BSS: -> 04007DA0
RAM Configuration:
Bank #0: 00000000 128 MB
boot from spi flash.
flash:
Bank1: FFF80000 -- FFFFFFFF
Bank2: FF780000 -- FFF7FFFF
Flash: 8.5 MB ** HALF of the 'soft brick' **
vibra start !
reg op: 0xD811005C | 0x8
reg op: 0xD8110084 | 0x8
reg op: 0xD81100AC | 0x8
vibra time: 200 mesc
vibra stop !
reg op: 0xD81100AC & 0xFFFFFFF7

(Apparently the 'vibrate' is available if the 'motor' is there!)

In: serial
Out: serial
Err: serial
bootcmd="nand readblob 3C00000 3E00000;logo show" ** WORKS here **
maddr = 0x3c00000, naddr = 0x3e00000

<1> Read header
find NAND Flash SAMSUNG_K9GAG08U0D ** 'hard-wired' chip shows up! **
nfc 0x1324 , divisor b
block4095 tag=74624230 version =1
block4094 tag=62743142 version =1
Un-know id = 0x0
Read finsih
Header is 0x00119436 0x80101000

<2> Read Data
Read finsih
show logo .....
LCD param (setting): 1,30000,8,800,480,48,40,40,3,29,13,d8110508|10,d8110504|10,d8110500|10
(Register data new to this version?)
PWM param (setting): 0,5,599,449,539,299,30,0,27
LCD FrameBuffer = 0x07600000, BMP Address = 0x03C00000
Loading BMP .....
colorBits = 24
logo_width = 800, logo_height= 480
lcd_width= 800, lcd_height = 480
ok
Execute register operation for LCD:
reg op: 0xD8110508 | 0x10
reg op: 0xD8110504 | 0x10
reg op: 0xD8110500 | 0x10
PWM0 input freq = 47916666 Hz, output freq = 15998 Hz
PWM0 register setting: scalar = 4, period = 598, duty = 448
REG32_VAL(0xd8000440) = 0x08080800
memory size: 128MB
### main_loop entered: bootdelay=1

Execute register operation:
reg op: 0xD8110064 | 0xC
reg op: 0xD811008C | 0xC
reg op: 0xD81100B4 & 0xFFFFFFFB
reg op: 0xD81100B4 | 0x8
reg op: 0xD8130054 | 0x1
### main_loop: bootcmd="nand readblob 100000 0;go 100000" ** Works to load WinCE **
Hit Enter key to stop autoboot: 0
WMT # flinfo

Bank # 1: SST SPI Flash(25P64A-8MB)
Sector Start Addresses:
[ 0]FFF80000 [ 1]FFF90000 [ 2]FFFA0000
[ 3]FFFB0000 [ 4]FFFC0000 [ 5]FFFD0000
[ 6]FFFE0000 [ 7]FFFF0000

Bank # 2: SST SPI Flash(25P64A-8MB)
Sector Start Addresses:
[ 0]FF780000 [ 1]FF790000 [ 2]FF7A0000
[ 3]FF7B0000 [ 4]FF7C0000 [ 5]FF7D0000
[ 6]FF7E0000 [ 7]FF7F0000 [ 8]FF800000
[ 9]FF810000 [ 10]FF820000 [ 11]FF830000
[ 12]FF840000 [ 13]FF850000 [ 14]FF860000
[ 15]FF870000 [ 16]FF880000 [ 17]FF890000
[ 18]FF8A0000 [ 19]FF8B0000 [ 20]FF8C0000
[ 21]FF8D0000 [ 22]FF8E0000 [ 23]FF8F0000
[ 24]FF900000 [ 25]FF910000 [ 26]FF920000
[ 27]FF930000 [ 28]FF940000 [ 29]FF950000
[ 30]FF960000 [ 31]FF970000 [ 32]FF980000
[ 33]FF990000 [ 34]FF9A0000 [ 35]FF9B0000
[ 36]FF9C0000 [ 37]FF9D0000 [ 38]FF9E0000
[ 39]FF9F0000 [ 40]FFA00000 [ 41]FFA10000
[ 42]FFA20000 [ 43]FFA30000 [ 44]FFA40000
[ 45]FFA50000 [ 46]FFA60000 [ 47]FFA70000
[ 48]FFA80000 [ 49]FFA90000 [ 50]FFAA0000
[ 51]FFAB0000 [ 52]FFAC0000 [ 53]FFAD0000
[ 54]FFAE0000 [ 55]FFAF0000 [ 56]FFB00000
[ 57]FFB10000 [ 58]FFB20000 [ 59]FFB30000
[ 60]FFB40000 [ 61]FFB50000 [ 62]FFB60000
[ 63]FFB70000 [ 64]FFB80000 [ 65]FFB90000
[ 66]FFBA0000 [ 67]FFBB0000 [ 68]FFBC0000
[ 69]FFBD0000 [ 70]FFBE0000 [ 71]FFBF0000
[ 72]FFC00000 [ 73]FFC10000 [ 74]FFC20000
[ 75]FFC30000 [ 76]FFC40000 [ 77]FFC50000
[ 78]FFC60000 [ 79]FFC70000 [ 80]FFC80000
[ 81]FFC90000 [ 82]FFCA0000 [ 83]FFCB0000
[ 84]FFCC0000 [ 85]FFCD0000 [ 86]FFCE0000
[ 87]FFCF0000 [ 88]FFD00000 [ 89]FFD10000
[ 90]FFD20000 [ 91]FFD30000 [ 92]FFD40000
[ 93]FFD50000 [ 94]FFD60000 [ 95]FFD70000
[ 96]FFD80000 [ 97]FFD90000 [ 98]FFDA0000
[ 99]FFDB0000 [100]FFDC0000 [101]FFDD0000
[102]FFDE0000 [103]FFDF0000 [104]FFE00000
[105]FFE10000 [106]FFE20000 [107]FFE30000
[108]FFE40000 [109]FFE50000 [110]FFE60000
[111]FFE70000 [112]FFE80000 [113]FFE90000
[114]FFEA0000 [115]FFEB0000 [116]FFEC0000
[117]FFED0000 [118]FFEE0000 [119]FFEF0000
[120]FFF00000 [121]FFF10000 [122]FFF20000
[123]FFF30000 [124]FFF40000 [125]FFF50000
[126]FFF60000 [127]FFF70000

Bank # 3: missing or unknown FLASH type

Bank # 4: missing or unknown FLASH type

WMT # help
shutdown the board ** 'missing/defective?' **
? - alias for 'help'
autoscr - run script from memory
base - print or set address offset
bdinfo - print Board Info structure
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
cleanlcd - clean LCD screen
cmp - memory compare
coninfo - print console devices and information
cp - memory copy
crc32 - checksum calculation
dhcp - invoke DHCP client to obtain IP/boot params
diskboot- boot from IDE device
dmacp - dma memory copy
echo - echo args to console
erase - erase FLASH memory
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls - list files in a directory (default /)
fatstore - store binary file to a dos filesystem
flinfo - print FLASH memory information
go - start application at address 'addr'
help - print online help
ide - IDE sub-system
iminfo - print header information for application image
imls - list all images found in flash
itest - return true/false on integer compare
lcdinit - initialize LCD
loadb - load binary file over serial line (kermit mode)
loads - load S-Record file over serial line
show -
loop - infinite loop on address range
md - memory display
mii - MII utility commands
mm - memory modify (auto-incrementing)
mmcinit - init mmc card
msleep - delay execution for some time
mtest - simple RAM test
mw - memory write (fill)
nand - NAND sub-system
nfs - boot image via network using NFS protocol
nm - memory modify (constant address)
ping - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
protect - enable or disable FLASH write protection
randmac - generate a random MAC address and save to "ethaddr" environment variable
rarpboot- boot image via network using RARP/TFTP protocol
reset - Perform RESET of the CPU
run - run commands in an environment variable
saveenv - save environment variables to persistent storage
sdwaitins - wait sd card inserted or removed
sdwaitins 0 -- waiting removed
sdwaitins 1 -- waiting inserted
setenv - set environment variables
shutdown the board
sleep - delay execution for some time
textout - show text to the screen
textout x y "str" color
color is 24bit Hex, R[23:16], G[15:8], B[7:0]
for example: textout 0 0 "hello world" FFFFFF
tftpboot- boot image via network using TFTP protocol
tmpt - execute Mass Production Tool
uploadfile- Transfer the spi flash image to the server.
version - print monitor version
WMT #

** Allowed to load linux system
.. ALL SORTS of 'interesting stuff' shows up when WinCE loads!
**


WonderMedia Technologies, Inc.
W-Load Version : 0.19.00.01
ethaddr............found


U-Boot 1.1.4 (Aug 11 2010 - 18:28:15)
WonderMedia Technologies, Inc.
WMT U-Boot Version : 0.12.01.00.27
U-Boot code: 03F80000 -> 03FBA184 BSS: -> 04007DA0
RAM Configuration:
Bank #0: 00000000 128 MB
boot from spi flash.
flash:
Bank1: FFF80000 -- FFFFFFFF
Bank2: FF780000 -- FFF7FFFF
Flash: 8.5 MB
vibra start !
reg op: 0xD811005C | 0x8
reg op: 0xD8110084 | 0x8
reg op: 0xD81100AC | 0x8
vibra time: 200 mesc
vibra stop !
reg op: 0xD81100AC & 0xFFFFFFF7
In: serial
Out: serial
Err: serial
bootcmd="nand readblob 3C00000 3E00000;logo show"
maddr = 0x3c00000, naddr = 0x3e00000

<1> Read header
find NAND Flash SAMSUNG_K9GAG08U0D
nfc 0x1324 , divisor b
block4095 tag=74624230 version =1
block4094 tag=62743142 version =1
Un-know id = 0x0
Read finsih
Header is 0x00119436 0x80101000

<2> Read Data
Read finsih
show logo .....
LCD param (setting): 1,30000,8,800,480,48,40,40,3,29,13,d8110508|10,d8110504|10,d8110500|10
PWM param (setting): 0,5,599,449,539,299,30,0,27
LCD FrameBuffer = 0x07600000, BMP Address = 0x03C00000
Loading BMP .....
colorBits = 24
logo_width = 800, logo_height= 480
lcd_width= 800, lcd_height = 480
ok
Execute register operation for LCD:
reg op: 0xD8110508 | 0x10
reg op: 0xD8110504 | 0x10
reg op: 0xD8110500 | 0x10
PWM0 input freq = 47916666 Hz, output freq = 15998 Hz
PWM0 register setting: scalar = 4, period = 598, duty = 448
REG32_VAL(0xd8000440) = 0x08080800
memory size: 128MB
### main_loop entered: bootdelay=1

Execute register operation:
reg op: 0xD8110064 | 0xC
reg op: 0xD811008C | 0xC
reg op: 0xD81100B4 & 0xFFFFFFFB
reg op: 0xD81100B4 | 0x8
reg op: 0xD8130054 | 0x1
### main_loop: bootcmd="nand readblob 100000 0;go 100000"
Hit Enter key to stop autoboot: 0
ATSMB Host 390KHz
Found SD Card

scriptcmd start:
ATSMB Host 390KHz

SD2_0 : SDHC card!

Init : card selected !

SD:Four Bits Mode!

Initial SD Card OK!
ATSMB Host 25MHz
SD clock is 25Mhz
register mmc device
part_offset : 3d, cur_part : 1
--> fatload mmc 0 0 script/scriptcmd
part_offset : 3d, cur_part : 1
reading script/scriptcmd
Tina_Match: isdir 0x1######################
mydata :
Size of clusters in sectors : 10
The sector of the first cluster, can be negative : 210
Current FAT buffer : 03f4d440
fatbufnum : ffffffff
Length of FAT in sectors : 100
Size of FAT in bits : 10
Starting sector of the FAT : 10
Start sector of root directory : 210

0xC4 bytes read
## Executing script at 00000000
** Script length: 124
** exec: "mmcinit"
ATSMB Host 390KHz

SD2_0 : SDHC card!

Init : card selected !

SD:Four Bits Mode!

Initial SD Card OK!
ATSMB Host 25MHz
SD clock is 25Mhz
register mmc device
part_offset : 3d, cur_part : 1
** exec: "sleep 1"
** exec: "fatload mmc 0 0 /script/uzImage.bin"
part_offset : 3d, cur_part : 1
reading /script/uzImage.bin
Tina_Match: isdir 0x1######################
mydata :
Size of clusters in sectors : 10
The sector of the first cluster, can be negative : 210
Current FAT buffer : 03f4c0e8
fatbufnum : ffffffff
Length of FAT in sectors : 100
Size of FAT in bits : 10
Starting sector of the FAT : 10
Start sector of root directory : 210

0x265F08 bytes read
** exec: "setenv bootargs mem=112M root=/dev/sda1 rw rootdelay=10 noinit"
** exec: "bootm 0"
## Booting image at 00000000 ...
Image Name: MontaVista Linux 2.6.10
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2514632 Bytes = 2.4 MB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
OK
No initrd
## Transferring control to Linux (at address 00008000) ...

Starting kernel ...

Uncompressing Linux..........(removed).... done, booting the kernel.
 
Old 03-19-2011, 07:08 PM   #27
justboo2u
Member
 
Registered: Feb 2011
Distribution: Ubuntu, Debian(ARM),XP,W7,CP/M
Posts: 126

Original Poster
Rep: Reputation: 20
Interesting event...

I attempted to mount mtdblock9, mkfs and put the root filesystem into it...

Did not work...

rebooted to a BLACK screen.

Thought it was bricked, but saw the external HD (location of operable ext2 fs) blinking... being loaded...

Soon after, I found that I could login as root and poweroff...

NO CLUE why the display isnt working...
as far as I know, I did not overwrite ANYTHING in the SPI... seemingly evident by the continued booting.

Will have to wait till I get home and 'serial-up'...

Strange.

The NAND kicked out HUNDREDS of errors!!! Wondering if the settings were trying to access it too quickly or somesuch. Wont know until I get home.

Serious downer.

But.... at least it isnt bricked!

Last edited by justboo2u; 03-19-2011 at 07:09 PM.
 
Old 03-20-2011, 07:45 PM   #28
justboo2u
Member
 
Registered: Feb 2011
Distribution: Ubuntu, Debian(ARM),XP,W7,CP/M
Posts: 126

Original Poster
Rep: Reputation: 20
Day of GOOD NEWS!! (with MORE!!)

Got in thru serial last nite after work and found that the lcdinit had 'disappeared'...
So did the logo...

but that was a 'fairly easy' fix!

BUT!

I managed to copy the uzImage.bin (kernel) file to NAND at 0...
then was able to successfully CHANGE the BOOTCMD to use it!

Although it still needs the external HD (sda1) for the filesystem,

IT BOOTS without AN SD CARD!!!

All that needs done now is to figure where/how to place the filesystem,
and change the BOOTARGS to reflect /dev/mtdblock9/7/whatever...

Well, as of 1745h there is a filesystem on mtdblock9...
I'll have to wait till I get home to change to it & see if it works!

** nervous anticipation **
IT WORKS! I finally 'repair' something that WORKS!!! Now, to 'rearrange' the filesystem & 'populate it' to my liking!
EDIT:

Found another site that CONFIRMS that the 25Q40 chip (4Mbit=512Kbyte) IS the one I need to 'fix' for the 'hard brick', and if the JTAG method proves unsuccessful in cleaning up the 'soft brick' that device can also be used to clean/repair the SPI flash 'out-of-circuit'...

SOooooo,

Will de-solder the 'hard brick' and JTAG the 'soft brick' and finish up with 'the new guy'...


Late nite musings...
4Mbit = 512K Byte... seems so little... and yet CP/M runs in 64K... how spoiled we've become!

Last edited by justboo2u; 03-21-2011 at 03:19 AM.
 
Old 03-24-2011, 04:22 PM   #29
justboo2u
Member
 
Registered: Feb 2011
Distribution: Ubuntu, Debian(ARM),XP,W7,CP/M
Posts: 126

Original Poster
Rep: Reputation: 20
A step at a time....

I now have wires connected to the JTAG pads on the 'soft brick', and am waiting for the programmer to arrive.

Also have the flash chip removed from the 'hard brick' for the same reason...

I have noticed 'a few too many' errors on the Sylvania... perhaps the kernel is trying to access too quickly?


 
Old 03-25-2011, 10:17 PM   #30
justboo2u
Member
 
Registered: Feb 2011
Distribution: Ubuntu, Debian(ARM),XP,W7,CP/M
Posts: 126

Original Poster
Rep: Reputation: 20
swine to find the truffles...

THE PROGRAMMER IS HERE!!!

Now,
It appears that I will have to learn the 'programming script' IOT work with the 'soft brick' after I finish setting up the connector...
(The arrangement of the pins is 'a bit different' than the brick...)

It is unlikely to do anything 'useful' by simply plugging in. Apparently I expected something else...?
Like,


POOF!!! It's fixed!

Also ordered the adapter for the 'unconnected chip'...
Yet More Money!

Tonite I will get the connector finished and can start 'playing' with the programmer...

What kind you asked? Oh... sorry.
Got one of the BlackCat USBs off ebay. Decent price, seems to be ready to go (in Win7) except for the nasty-little-script-thing...

Soon I expect to put a banner here saying that the 'soft brick' is no longer a brick at all!
Ahhh... the daydreams of a solder-junkie!

Last edited by justboo2u; 03-25-2011 at 10:19 PM.
 
  


Reply


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Lenovo's Smartbook: The Company Can Still Back Linux LXer Syndicated Linux News 0 11-14-2009 03:20 PM
LXer: My Journey to Linux LXer Syndicated Linux News 0 03-11-2007 11:31 PM
Enter Linux : My journey begins! >>BLACKHOLE<< LinuxQuestions.org Member Intro 3 06-29-2006 04:04 PM
The journey of a packet through the linux 2.6 network stack kskkumar Linux - Networking 3 10-27-2005 03:19 AM
Beginning of a long, arduous, Linux journey sdnewbie Linux - Newbie 2 10-04-2004 11:41 PM


All times are GMT -5. The time now is 02:11 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration