All Forums
 Microsoft Windows CE
 General CE
 Can't change to Linux from WinCE
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  

urna

22 Posts

Posted - 09 Dec 2004 :  13:29:13  Show Profile  Email Poster
Hi!
I'm trying to boot a linux image from my ata pcmcia card in my BitsyX with Windows CE.
I followed the steps in topic 666, the adsload.hwt file I got was the one in the tar file
700115-0700D_LQ64D343_BitsyX64_16bpp. But when I powered the BitsyX on I only got the
color bars as described in the 900110-80271_Linux_demo doc, the white screen with
crosshairs never showed up.
Then I tried to change the boot loader. I downloaded the tar file bitsyx_64m_700115-0450l
from topic 521 where a file called adslinux.rom was found, this file was renamed as
adsload.rom and copied to the ata card. When I changed the S1 switches to Open Box
Upgrade mode and powered the BitsyX I just got the following:

******* BitsyX Initialization*******
CPU ID = A0 PXA255
SDCLK[1] = MemClk
MemClk = 99.53 MHz
Run Mode = 4 * MemClk
Turbo Mode = Run Mode
Mode: RUN



Microsoft Windows CE Ethernet Boot Loader
Copyright (c) 2001 Microsoft Corporation
Copyright (c) 2001 Intel Corporation
Copyright (c) 2002~2003 ADS BitsyX Bootloader Ver (1.10 )
(Built at 12:47:24 on Dec 20 2003)

CPLD Version = 0x8
DipSwitch = 0x2
BootSwitch = 0x4

ADSLOAD.ROM : Reading ... Writing...

Here the system hangs up.


From the topic 1036, I can see this guy can load the adsload.rom in flash so I think
the problem is that I can write in the flash.

What do you suggest i should try??

bincbom

23 Posts

Posted - 09 Dec 2004 :  13:35:09  Show Profile  Email Poster
If you haven't gotten into JTAG before, I URGE you to do it now. The ADS bootloaders BARELY work under ideal conditions. Anything "challenging", like changing from the CE bootloader to the Linux one will often fail.

Using JTAG is easy and you ought to get into it. You need the Xilinx "Parallel Cable IV", the Xilinx "HW-FLYLEADS" and some Windows software I can send you. Please contact me at craigv@voxware.com and I will be glad to help you out. I just converted my Wince Bitsy X to Linux myself - using JTAG.
Go to Top of Page

urna

22 Posts

Posted - 09 Dec 2004 :  14:05:53  Show Profile  Email Poster
I'm not sure about it. First I'd like to try a little more with the methods showed in topic 666, they seem to work.
Any other suggestion??
Thaks for all bincbom.
Go to Top of Page

rwhaley

628 Posts

Posted - 09 Dec 2004 :  14:19:31  Show Profile  Email Poster
What is the current state of your board? Will it still boot CE? Do you get any messages on the serial port when you power it on? If so, please send them. How are the switches set now?

If you answer each of these questions we may be able to help you get your board working without resorting to JTAG or returning the board to the factory.
Go to Top of Page

urna

22 Posts

Posted - 09 Dec 2004 :  14:45:09  Show Profile  Email Poster
The board still booting CE. The messages I got through the serial port when S1 is in Normal Boot Mode (2 on and 1 off) are as follows:

Reset Detected

******* BitsyX Initialization*******
CPU ID = A0 PXA255
SDCLK[1] = MemClk
MemClk = 99.53 MHz
Run Mode = 4 * MemClk
Turbo Mode = Run Mode
Mode: RUN

Microsoft Windows CE Ethernet Boot Loader
Copyright (c) 2001 Microsoft Corporation
Copyright (c) 2001 Intel Corporation
Copyright (c) 2002~2003 ADS BitsyX Bootloader Ver (1.10 )
(Built at 12:47:24 on Dec 20 2003)

CPLD Version = 0x8
DipSwitch = 0x1
BootSwitch = 0x5
Reading Flash ...(from 0x40004 to 0x40a01)
Reading Hardware Table(ADSLOAD.HWT) from Flash.

Booting from Flash.
Reading Flash ...(from 0x200008 to 0x0143a0b4)

CE starts From DRAM(0x800b8000)
Windows CE Kernel for ARM (Thumb Enabled) Built on Nov 7 2003 at 18:51:43
ProcessorType=02d0 Revision=6
sp_abt=ffff5000 sp_irq=ffff2800 sp_undef=ffffc800 OEMAddressTable = 800b9170
Saved Registry will be restored.
Sp=ffffc7cc
Audio: AC97 Codec Initialized.
FlashFX Disk Detected: Ver 5.10 (Build 492)
No SMC Chips.

SMARTIO Detected : PartType=0x8535 Firmware=0x0010 Revision=2
SMARTIO : SerialClockRate=10 KBits/S(0xa7).
I2C bus initialized

Microsoft Windows CE Ver. 4.20 (build 0)

BitsyX Windows CE Ver. 4.20.10

* ADSLOAD.EXE(do-nothing build): Complete

Of curse when I tried to update the boot loader I changed the S1 to Open Box Upgrade mode (2 off and 1 on).
Go to Top of Page

rwhaley

628 Posts

Posted - 09 Dec 2004 :  15:28:09  Show Profile  Email Poster
Here is what you need to do (I just did this so I know that this works fine):

1. Get an empty PCMCIA flash card

2. Get this compressed tar file.

3. Use the tar command to uncompress and extract the files from the archive:

'tar xfz bitsyx_64m_700115-4050l.tar.gz'

4. Put the file adslinux.rom (which contains 69988 bytes) onto the flash card, but rename it as adsload.rom

5. Make sure that you have a serial cable connected to the debug port and that you are capturing the output from the debug port.

6. The switch closest to the edge of the bitsyx should be pushed toward the LED and while the switch further from the edge of the bitsyx is pushed away from the LED. (switch 1 on, switch 2 off).

7. Insert the PCMCIA card.

8. Power up the BitsyX.

9. After the process is complete, power down the BitsyX and remove the PCMCIA card.


The following output indicates that the bootrom has been programmed.



******* BitsyX Initialization*******
CPU ID = A0 PXA255
SDCLK[1] = MemClk
MemClk = 99.53 MHz
Run Mode = 4 * MemClk
Turbo Mode = Run Mode
Mode: RUN

Microsoft Windows CE Ethernet Boot Loader
Copyright (c) 2001 Microsoft Corporation
Copyright (c) 2001 Intel Corporation
Copyright (c) 2002~2003 ADS BitsyX Bootloader Ver (1.10 )
(Built at 12:47:24 on Dec 20 2003)

Detected Ethernet(SMC91C111)
CPLD Version = 0x7
DipSwitch = 0x2
BootSwitch = 0x4

ADSLOAD.ROM : Reading ... Writing...
Programming flash (this will also take a few seconds).
File Size = 69988(0x11164) bytes .
Erasing flash...
Successfully Erased !!!!
Writing Flash...(from 0x0 to 0x11164).
Compare Memory with Flash, Successfully Done !!!

ADSLOAD.HWT : Reading ... Writing...
Failed to load ADSLOAD.HWT from an ATA Flash Card.

ADSLOAD.REG : Reading ... Writing...
Failed to load ADSLOAD.REG from an ATA Flash Card.

ADSLOAD.EXE : Reading ... Writing...
Failed to load ADSLOAD.EXE from an ATA Flash Card.

ADSLOAD.BMP : Reading ... Writing...
Failed to load ADSLOAD.BMP from an ATA Flash Card.

NK.BIN : Reading ... Writing...
Failed to load NKLOAD.BIN from an ATA Flash Card.
Hardware Table not found in flash.


Ethernet Boot Loader Configuration:

0) Display Register
1) Set Register
2) Dump Memory
3) Boot delay: 0 seconds
4) DHCP: Dsbe
5) Erase Flash Memory
6) ST16C554 UART Test
7) Program RAM image into FLASH (Dsbe)
8) Program SMSC MAC address
A) Download image from ATA card
B) Copy CE Files from ATA card to Flash Memory
C) Launch Existing Flash resident Image now
D) Download image using KITL(Ethernet)
E) Test Memory (DRAM)
F) IP address: 0000
G) Subnet mask: 0000
H) # bootme's: 0
I) Test Ethernet Chip

Enter your selection:


Go to Top of Page

urna

22 Posts

Posted - 09 Dec 2004 :  15:56:15  Show Profile  Email Poster
Thanks rwhaley.
I did it but when the system got to "ADSLOAD.ROM : Reading ... Writing..." it just hanged up.
Does the process take a time to respond after this message?
Go to Top of Page

rwhaley

628 Posts

Posted - 09 Dec 2004 :  16:16:20  Show Profile  Email Poster
No it happens right away. What is the output from 'ls -l' on the pcmica card?
Go to Top of Page

urna

22 Posts

Posted - 09 Dec 2004 :  18:04:35  Show Profile  Email Poster
It seems to be only the ADSLOAD.ROM
Go to Top of Page

rwhaley

628 Posts

Posted - 09 Dec 2004 :  18:31:30  Show Profile  Email Poster
Please send me the output from the command 'ls -l' on the pcmcia card.
Go to Top of Page

urna

22 Posts

Posted - 09 Dec 2004 :  18:44:32  Show Profile  Email Poster
Due to I'm woking on a Win PC I'm posting the output from "dir E:"
I hope this can help.

09/29/2004 09:02 AM 69,988 adslinux.rom
1 file 69,988 bytes
0 dirs 256,835,584 bytes free
Go to Top of Page

urna

22 Posts

Posted - 09 Dec 2004 :  19:03:40  Show Profile  Email Poster

Hi,
Just a bit more information. I am suspecting that the problem may
be the flash memory. From the debug menu, if I try dumping from
memory locations where (as far as I can tell) corresponds to flash
memory (i.e., 0x200008 up to 0x0143a0b4), it starts trying to dump
and gets stuck.

Is there a way to test if flash memory is busted ?

Thanks
Go to Top of Page

rwhaley

628 Posts

Posted - 09 Dec 2004 :  19:59:25  Show Profile  Email Poster
I think you need to try a different PCMCIA card. Why not use the one that came with your development system.

BTW: You will need to have a Linux PC if you plan to do serious Linux development on the BitsyX.
Go to Top of Page

urna

22 Posts

Posted - 10 Dec 2004 :  11:34:27  Show Profile  Email Poster
Hi rwhaley,
Thanks for your help yesterday. I have already a Linux PC with me.
Today I realized that the BitsyX has 2 sockets, one in the upper board and the other in the lower board. The PCMCIA card I was using had an adapter to fit into the lower socket, I removed the adapter and connected the card to the upper socket and got some new logs which I'm sending you now:

Reset Detected

******* BitsyX Initialization*******
CPU ID = A0 PXA255
SDCLK[1] = MemClk
MemClk = 99.53 MHz
Run Mode = 4 * MemClk
Turbo Mode = Run Mode
Mode: RUN

Microsoft Windows CE Ethernet Boot Loader
Copyright (c) 2001 Microsoft Corporation
Copyright (c) 2001 Intel Corporation
Copyright (c) 2002~2003 ADS BitsyX Bootloader Ver (1.10 )
(Built at 12:47:24 on Dec 20 2003)

CPLD Version = 0x8
DipSwitch = 0x2
BootSwitch = 0x4

ADSLOAD.ROM : Reading ... Writing...
ATAInitializeDevice: ATA device FAT not supported(0xb).
Failed to load ADSLOAD.ROM from an ATA Flash Card.

ADSLOAD.HWT : Reading ... Writing...
ATAInitializeDevice: ATA device FAT not supported(0xb).
Failed to load ADSLOAD.HWT from an ATA Flash Card.

ADSLOAD.REG : Reading ... Writing...
ATAInitializeDevice: ATA device FAT not supported(0xb).
Failed to load ADSLOAD.REG from an ATA Flash Card.

ADSLOAD.EXE : Reading ... Writing...
ATAInitializeDevice: ATA device FAT not supported(0xb).
Failed to load ADSLOAD.EXE from an ATA Flash Card.

ADSLOAD.BMP : Reading ... Writing...
ATAInitializeDevice: ATA device FAT not supported(0xb).
Failed to load ADSLOAD.BMP from an ATA Flash Card.

NK.BIN : Reading ... Writing...
ATAInitializeDevice: ATA device FAT not supported(0xb).
Failed to load NKLOAD.BIN from an ATA Flash Card.
Reading Flash ...(from 0x40004 to 0x40a01)
Reading Hardware Table(ADSLOAD.HWT) from Flash.

Ethernet Boot Loader Configuration:

0) Display Register
1) Set Register
2) Dump Memory
3) Boot delay: 0 seconds
4) DHCP: Dsbe
5) Erase Flash Memory
6) ST16C554 UART Test
7) Program RAM image into FLASH (Dsbe)
8) Program SMSC MAC address
A) Download image from ATA card
B) Copy CE Files from ATA card to Flash Memory
C) Launch Existing Flash resident Image now
D) Download image using KITL(Ethernet)
E) Test Memory (DRAM)
F) IP address: 0000
G) Subnet mask: 0000
H) # bootme's: 0
I) Test Ethernet Chip

Enter your selection:

What do you think about the "ATAInitializeDevice: ATA device FAT not supported(0xb)" line?
Go to Top of Page

rwhaley

628 Posts

Posted - 10 Dec 2004 :  12:08:55  Show Profile  Email Poster
It means you need to use a different PCMCIA card. Why not the one that came with your development kit.
Go to Top of Page

urna

22 Posts

Posted - 10 Dec 2004 :  12:52:42  Show Profile  Email Poster
Hi,

I just changed the file system to FAT16 and it worked !

Thanks a lot for your useful and timely advice. I will continue working
with the board.

I'll stay in touch...



Go to Top of Page
  Topic  
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Jump To:
Eurotech Support Forums © Eurotech Inc. Go To Top Of Page
This page was generated in 0.08 seconds. Snitz Forums 2000