Re: [crisos] how to reflash from crisos to acme?

[ Thread Index | Date Index | More lists.tuxfamily.org/crisos Archives ]


Hi Claudio,

Am Dienstag, 5. August 2008 21:06:24 schrieb Claudio:
> Hi Markus
>
> 2008/8/5, Markus <crisos@xxxxxxxxx>:
> > Hi Claudio,
> >
> > Am Sonntag, 3. August 2008 21:52:20 schrieb Claudio:
> >> 2008/8/3, Markus <crisos@xxxxxxxxx>:
> >> > Hi list,
>
> CUT!
>
> >>                    ^^
> >> This is the correct way, please ensure that the fox is wired directly
> >> with your interface eth0
> >>
> >> If you need to use another interface use "-d <net_if>", remember that
> >> you can flash fox trought hub or wifi access point!
> >
> > Yes, I understood.
> > But if you read the next lines I'm having also dificulties flashing the
> > board
> > this way! :-(
> >
> >
> > I cross-cabled my PC with the board.
> > I tried it directly under linux (debian) and also on another PC under
> > Windows
> > XP (with flashfox and WinPcap).
> >
> > I also set the network card to 10 MBit, Full, AutoNeg OFF  with ethtool.
> >
> > None of this worked.
> >
> >
> > Than I monitored the traffic with wireshark (ethereal) when trying to
> > flash. What I saw there, that the "boot_linux" or better the
> > "etrax100boot" tried to
> > access my foxboard with the MAC address 01:40:8c:00:01:00. BUT my fox
> > board has the 00:40:8C:CD:00:00.
>
> Very strange! I never hear this problem.
>
> > Maybe this is the answer, why my fox board does not answer to the net
> > boot? My question now is:
> >
> > How does the flash tools know, which MAC to flash?
> > - Does it come from the image file (when setting with make menuconfig)?
> > - Does it come from
> > devboard-R2_01/tools/build/e100boot/cbl/src/net_init.c
>
> devboard-R2_01 is the correct choice for foxboard? I don't remember.
> Your sdk may be configured for some other developer board???

Of course, I'm using the right one. :-)
The SDK is the one from here: http://www.acmesystems.it/?id=714
And configured for the fox lx 832.


> >   Because there is a macro "SET_ETHER_ADDR" with the first MAC I
> > mentionend?
>
> Have you try to use boot_linux script and etrax100boot from
> http://downloads.tuxfamily.org/crisos/repository/tool/ ?
> You can be sure that this version of etrax100boot try to flash the
> correct mac address ;)

Yes, I did also:

Settings for eth0:
        Supported ports: [ MII ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  Not reported
        Advertised auto-negotiation: No
        Speed: 10Mb/s
        Duplex: Full
        Port: MII
        PHYAD: 1
        Transceiver: external
        Auto-negotiation: off
        Supports Wake-on: g
        Wake-on: d
        Link detected: yes
root@pcmarkus:/home/markus/develop/foxboard/flashing$ ./boot_linux -F -d 
eth0 -i fimage40_lx832
Using internal boot loader: INTERNAL_NW - Network boot (default).
Starting boot...
We're doing a flash write, this may take up to a few minutes...


Same result! No answer from the fox board. :-(
Wireshark says this:

AsustekC_d3:29:72 AxisComm_00:01:00	LLC	U, func=UI; SNAP, OUI 0x00408C 
(Unknown), PID 0x8856
Destination: AxisComm_00:01:00 (01:40:8c:00:01:00)


---
CrisOs mailing list
Official multi-language http://www.crisos.org/ mailing list

For unsubscribe send empty mail to: crisos-request@xxxxxxxxxxxxxxxxxxx with subject unsubscribe.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/