Hi,
i´ve a board with Geode LX Processor and Realtek Ethernet.

Downloading the Run-Time Image from Platform Builder over Ethernet fails
with the Message 'Bad RX Packet' after the download has begun.
The Message appears at a terminal program which is connected with the serial
debug port.

The board was booted over USB FDD with CEPC Bootdisk (loadcepc.exe) and over
Bios bootloader
(\WINCE500\PUBLIC\COMMON\OAK\CSP\X86\BIOSLOADER\DISKIMAGES\bootdisk.144).
In both cases the error was the same.

Any hints?

Thanks,
Andy

RE: Downloading the Run-Time Image fails by SureshDMadhu

SureshDMadhu
Thu Feb 01 08:36:01 CST 2007

It might be the LAN issue. Did you try with cross Over Ethernet Cable?


Madhu
e-con Systems

"Andy" wrote:

> Hi,
> i´ve a board with Geode LX Processor and Realtek Ethernet.
>
> Downloading the Run-Time Image from Platform Builder over Ethernet fails
> with the Message 'Bad RX Packet' after the download has begun.
> The Message appears at a terminal program which is connected with the serial
> debug port.
>
> The board was booted over USB FDD with CEPC Bootdisk (loadcepc.exe) and over
> Bios bootloader
> (\WINCE500\PUBLIC\COMMON\OAK\CSP\X86\BIOSLOADER\DISKIMAGES\bootdisk.144).
> In both cases the error was the same.
>
> Any hints?
>
> Thanks,
> Andy

RE: Downloading the Run-Time Image fails by Andy

Andy
Thu Feb 01 08:45:01 CST 2007

The target device is connected over a switching hub with a straight cable.
Another device with Geode GX 466 and realtek chip runs successfully over
this connecton.

"Suresh D.Madhu" wrote:

> It might be the LAN issue. Did you try with cross Over Ethernet Cable?
>
>
> Madhu
> e-con Systems
>
> "Andy" wrote:
>
> > Hi,
> > i´ve a board with Geode LX Processor and Realtek Ethernet.
> >
> > Downloading the Run-Time Image from Platform Builder over Ethernet fails
> > with the Message 'Bad RX Packet' after the download has begun.
> > The Message appears at a terminal program which is connected with the serial
> > debug port.
> >
> > The board was booted over USB FDD with CEPC Bootdisk (loadcepc.exe) and over
> > Bios bootloader
> > (\WINCE500\PUBLIC\COMMON\OAK\CSP\X86\BIOSLOADER\DISKIMAGES\bootdisk.144).
> > In both cases the error was the same.
> >
> > Any hints?
> >
> > Thanks,
> > Andy

Re: Downloading the Run-Time Image fails by Greg

Greg
Tue Feb 06 12:29:58 CST 2007

Could you please post more of the serial log to the newsgroup? It will help
with debugging.

Thanks!

Greg Prier [MS]

"Andy" <Andy@discussions.microsoft.com> wrote in message
news:CE8EC7AB-A732-4CC5-BC4A-73E80F1923AE@microsoft.com...
> Hi,
> i´ve a board with Geode LX Processor and Realtek Ethernet.
>
> Downloading the Run-Time Image from Platform Builder over Ethernet fails
> with the Message 'Bad RX Packet' after the download has begun.
> The Message appears at a terminal program which is connected with the
> serial
> debug port.
>
> The board was booted over USB FDD with CEPC Bootdisk (loadcepc.exe) and
> over
> Bios bootloader
> (\WINCE500\PUBLIC\COMMON\OAK\CSP\X86\BIOSLOADER\DISKIMAGES\bootdisk.144).
> In both cases the error was the same.
>
> Any hints?
>
> Thanks,
> Andy



Re: Downloading the Run-Time Image fails by Andy

Andy
Wed Feb 07 01:53:00 CST 2007

Is it possible, that the problem is caused by the BIOS?
Its a Advanced Micro Devices GeodeROM BIOS (Version: 6330DB1.ROM).

Here is the complete serial output:

[00]<CR><LF>
<CR>Microsoftâ?¢Windowsâ?¢CEâ?¢BIOSâ?¢Bootloaderâ?¢Versionâ?¢2.2â?¢(Builtâ?¢Marâ?¢13â?¢2004)<CR><CR><LF>
INFO:â?¢code=0x4.<CR><LF>
INFO:â?¢code=0x4.<CR><LF>
INFO:â?¢code=0x4.<CR><LF>
Jumpingâ?¢toâ?¢imageâ?¢(address=0x13A01C)<CR><LF>
<CR><LF>
<CR><LF>
Microsoftâ?¢Windowsâ?¢CEâ?¢Ethernetâ?¢Bootloaderâ?¢Commonâ?¢Libraryâ?¢Versionâ?¢1.1â?¢Builtâ?¢Junâ?¢21â?¢2004â?¢18:06:06<CR><LF>
Microsoftâ?¢Windowsâ?¢CEâ?¢Ethernetâ?¢Bootloaderâ?¢3.5â?¢forâ?¢CE/PCâ?¢(Junâ?¢21â?¢2004)<CR><LF>
Boot�Args�@�0x1FFF00�and��ucLoaderFlags�is�1�<CR><LF>
FlashInit<CR><LF>
-FlashInit:Fails!!!!<CR><LF>
PCIâ?¢Deviceâ?¢Configurationsâ?¢(1â?¢PCIâ?¢bus(es)â?¢present)...<CR><LF>
========================================================<CR><LF>
â?¢Bus,â?¢Device,â?¢Functionâ?¢=â?¢0,â?¢9,â?¢0<CR><LF>
�Vendor�ID,�Device�ID��=�0x10EC,�0x8139<CR><LF>
�Base�Class,�Subclass��=�2,�0�=>�NETWORK_CTLR<CR><LF>
�Interrupt�������������=�10<CR><LF>
�BaseAddress[0]��������=�0xDF00�(I/O)<CR><LF>
�BaseAddress[1]��������=�0xEFC00000�(Memory)<CR><LF>
========================================================<CR><LF>
â?¢Bus,â?¢Device,â?¢Functionâ?¢=â?¢0,â?¢10,â?¢0<CR><LF>
�Vendor�ID,�Device�ID��=�0x10EC,�0x8139<CR><LF>
�Base�Class,�Subclass��=�2,�0�=>�NETWORK_CTLR<CR><LF>
�Interrupt�������������=�10<CR><LF>
�BaseAddress[0]��������=�0xDE00�(I/O)<CR><LF>
�BaseAddress[1]��������=�0xEFA00000�(Memory)<CR><LF>
========================================================<CR><LF>
InitKitlNIC:â?¢Searchingâ?¢forâ?¢PCIâ?¢Ethernetâ?¢NICâ?¢(dwIrqâ?¢=â?¢0,â?¢dwIoBaseâ?¢=â?¢0,â?¢dwDfltTypeâ?¢=â?¢1)â?¢...<CR><LF>
InitKitlNIC:â?¢Foundâ?¢PCIâ?¢Ethernetâ?¢NICâ?¢(typeâ?¢=â?¢4,â?¢IRQ=10,â?¢IOBase=0xDF00).<CR><LF>
RTL8139InitDMABuffer()::â?¢Start[0x200000]-[0x200000]â?¢-â?¢Size[0x20000]<CR><LF>
Tx[0x200000]â?¢-â?¢Rx[0x201800]â?¢-â?¢RxLength[0x10000]â?¢-â?¢RxLengthBit[0x1800]<CR><LF>
RTL8139::â?¢builtâ?¢onâ?¢[Junâ?¢20â?¢2004]â?¢[18:21:04]<CR><LF>
RTL8139Init()::â?¢BaseIO[0xDF00]â?¢:â?¢MemOffset[0x1]<CR><LF>
RTL8139Init()::â?¢TxBuff[0x200000]â?¢-â?¢RxBuff[0x201800]â?¢-â?¢LastRx[0x2117FF]<CR><LF>
RTL8139Init::â?¢MACâ?¢=â?¢00-0D-48-37-00-8B<CR><LF>
RTL8139â?¢ethdbgâ?¢library:â?¢performâ?¢autoâ?¢negotiate.<CR><LF>
RTL8139::â?¢RTL8139HWSetMCRegs()::â?¢Setâ?¢allâ?¢toâ?¢0x00<CR><LF>
Returnedâ?¢MACâ?¢Address:00:0D:48:37:00:8B<CR><LF>
Systemâ?¢ready!<CR><LF>
Preparingâ?¢forâ?¢download...<CR><LF>
OEMPreDownload��ucLoaderFlags�is�0�<CR><LF>
x86KitlCreateName:â?¢Usingâ?¢Deviceâ?¢Nameâ?¢'CEPC139'<CR><LF>
Usingâ?¢deviceâ?¢name:â?¢CEPC139<CR><LF>
Hitâ?¢ENTERâ?¢withinâ?¢3â?¢secondsâ?¢toâ?¢enterâ?¢staticâ?¢IPâ?¢address!InitDHCP()::â?¢Callingâ?¢ProcessDHCP()<CR><LF>
ProcessDHCP()::DHCP_INIT<CR><LF>
Gotâ?¢Responseâ?¢fromâ?¢DHCPâ?¢server,â?¢IPâ?¢address:â?¢142.120.202.75<CR><LF>
<CR><LF>
ProcessDHCP()::DHCPâ?¢IPâ?¢Addressâ?¢Resolvedâ?¢asâ?¢142.120.202.75,â?¢netmask:â?¢255.255.0.0<CR><LF>
Leaseâ?¢time:â?¢-1â?¢seconds<CR><LF>
Gotâ?¢Responseâ?¢fromâ?¢DHCPâ?¢server,â?¢IPâ?¢address:â?¢142.120.202.75<CR><LF>
Noâ?¢ARPâ?¢responseâ?¢inâ?¢2â?¢seconds,â?¢assumingâ?¢ownershipâ?¢ofâ?¢142.120.202.75<CR><LF>
+EbootSendBootmeAndWaitForTftp<CR><LF>
Sentâ?¢BOOTMEâ?¢toâ?¢255.255.255.255<CR><LF>
Sentâ?¢BOOTMEâ?¢toâ?¢255.255.255.255<CR><LF>
Sentâ?¢BOOTMEâ?¢toâ?¢255.255.255.255<CR><LF>
Sentâ?¢BOOTMEâ?¢toâ?¢255.255.255.255<CR><LF>
Sentâ?¢BOOTMEâ?¢toâ?¢255.255.255.255<CR><LF>
Lockedâ?¢Downâ?¢Linkâ?¢1<CR><LF>
Src�IP�142.120.202.75�Port�0800���Dest�IP�142.120.202.112�Port�045B<CR><LF>
EthDown::TFTPD_OPEN::boot.bin<CR><LF>
-EbootSendBootmeAndWaitForTftp<CR><LF>
<CR><LF>
Downloadâ?¢fileâ?¢information:<CR><LF>
-----------------------------------------------------<CR><LF>
[0]:�Address=0x220000��Length=0x29C1428��Name=<CR><LF>
<CR><LF>
******â?¢OEMVerifyMemoryâ?¢Checkingâ?¢Rangeâ?¢[â?¢0x220000â?¢==>â?¢0x2BE1427â?¢]<CR><LF>
******â?¢RAMâ?¢Addressâ?¢******â?¢<CR><LF>
<CR><LF>
Badâ?¢RXâ?¢packetâ?¢[Header:â?¢0x6A15â?¢--â?¢Lengthâ?¢:â?¢[65520]]...<CR>[02]


Regards,
Andy

"Greg Prier (Microsoft Corp.)" wrote:

> Could you please post more of the serial log to the newsgroup? It will help
> with debugging.
>
> Thanks!
>
> Greg Prier [MS]
>
> "Andy" <Andy@discussions.microsoft.com> wrote in message
> news:CE8EC7AB-A732-4CC5-BC4A-73E80F1923AE@microsoft.com...
> > Hi,
> > i´ve a board with Geode LX Processor and Realtek Ethernet.
> >
> > Downloading the Run-Time Image from Platform Builder over Ethernet fails
> > with the Message 'Bad RX Packet' after the download has begun.
> > The Message appears at a terminal program which is connected with the
> > serial
> > debug port.
> >
> > The board was booted over USB FDD with CEPC Bootdisk (loadcepc.exe) and
> > over
> > Bios bootloader
> > (\WINCE500\PUBLIC\COMMON\OAK\CSP\X86\BIOSLOADER\DISKIMAGES\bootdisk.144).
> > In both cases the error was the same.
> >
> > Any hints?
> >
> > Thanks,
> > Andy
>
>
>