Re: Where does the image go, how can I boot it?
- From: JohnKoz <JohnKoz@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 26 Feb 2009 06:58:13 -0800
Thanks again guys for replying.
So after doing some additional reading and experimentation I’ve learned
enough to answer what I now know was a simple question. This is all I was
looking for…
The eboot.bin image downloads the nk.bin image directly into the device
memory over Ethernet. Once the download completes control jumps to the entry
point for the image and it executes. At that point the image is in control
and any behavior thereafter is that of the image. If the device reboots
that’s because the image is causing it to reboot, either intentionally or (in
my case) unintentionally due to a problem.
(The following portion is not obvious.)
In my case the provided VIA BSP is causing the issue and if I rebuild my
image with the standard CEPC BSP it is fine. There are some other folk having
similar issues in the following threads:
http://www.sparkcontest.com/forum.aspx?g=posts&t=71
http://www.sparkcontest.com/forum.aspx?g=posts&t=23
-John
"Paul G. Tobey [eMVP]" wrote:
Well, you can use one of the two support incidents that come with Platform.
Builder. That response from the VIA forum doesn't see to have anything to
do with the question, so I'd be suspicious of it. I don't see any way that
any spark initiative has anything at all to do with where the bootloader
that VIA ships puts the nk.bin or how it works...
Paul T.
"JohnKoz" <JohnKoz@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:373FF88D-1B8A-4EA6-B792-EF3EA5573BB1@xxxxxxxxxxxxxxxx
Also, this just in from the VIA forum where I did what you guys suggested
and asked the "manufacturer":
"Probably better off trying to find info from MS since it's their SPARK
initiative that is the root of the issue. Not sure if anyone here has any
knowledge of your problem."
Pretty frustraiting all around...
"JohnKoz" wrote:
My nk.bin is 40,368K (40MB).
Config.bib has:
CONFIG
AUTOSIZE=ON
Ce.bib:
; 64 MB of RAM (note: AUTOSIZE will adjust boundary)
NK 80220000 009E0000 RAMIMAGE
RAM 80C00000 03400000 RAM
I don't seem to see a makefile.out file?
-John
"Bruce Eitman [eMVP]" wrote:
John:
What is the size of your nk.bin?
Do you have AUTOSIZE=1 in your config.bib?
Are there any error messages in your makefile.out, like RAM start
overlaps
ROM binary?
Show us the RAMIMAGE line from your ce.bib.
--
Bruce Eitman (eMVP)
Senior Engineer
Bruce.Eitman AT EuroTech DOT com
My BLOG http://geekswithblogs.net/bruceeitman
EuroTech Inc.
www.EuroTech.com
"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam
DOT
com> wrote in message news:O1jORNRkJHA.4276@xxxxxxxxxxxxxxxxxxxxxxx
As I recall from some old VIA BSPs that I've used, it loads the image
into
RAM, or tries to, if you set up the image right, then jumps directly
to
it. The BSP builder is really the only person who can answer this
sort of
question. We can speculate all day and still miss the small feature
of
their bootloader that does X or Y, causing your image not to boot.
If you
have a DEBUG build of the bootloader, I would assume that there will
be
serial debug messages from one of the COM ports. That might tell you
of
any problems that the bootloader is finding and/or indicate what it's
doing with the image when you download it.
Paul T.
"JohnKoz" <JohnKoz@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:2090FE7A-2B7E-44E9-8D2F-5B977D7C59AC@xxxxxxxxxxxxxxxx
Can you at least tell me what the CEPC implementation does? Does it
reboot
after download, or jump right to the image and run?
"Bruce Eitman [eMVP]" wrote:
The VIA could have more features, or less, than the CEPC. It may
also
be
exactly like the CEPC. The vendor should be able to tell you, or
really
should have already told you.
--
Bruce Eitman (eMVP)
Senior Engineer
Bruce.Eitman AT EuroTech DOT com
My BLOG http://geekswithblogs.net/bruceeitman
EuroTech Inc.
www.EuroTech.com
"JohnKoz" <JohnKoz@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:5A6BBFE0-80B4-49F1-8C0A-B8DB9F4248F7@xxxxxxxxxxxxxxxx
Not sure what you mean? Are you saying that since the eboot.bin
is
part of
the board's BSP, how it works is completely unknown to you and
only
Via
can
answer that?
How does our CEPC eboot.bin work, does it load the image into
memory
and
jump to it, or does it store it somewhere and reboot the device?
Should I be seeing a reboot after the image download completes?
-John
"Bruce Eitman [eMVP]" wrote:
You probably should contact the device vendor.
--
Bruce Eitman (eMVP)
Senior Engineer
Bruce.Eitman AT EuroTech DOT com
My BLOG http://geekswithblogs.net/bruceeitman
EuroTech Inc.
www.EuroTech.com
"JohnKoz" <JohnKoz@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:37EB88FF-0051-41F5-ACE2-F60ADE4F5E74@xxxxxxxxxxxxxxxx
The saga continues..
So now that I have download to my ARTiGO working, it completes
successfully
and the device reboots, but then it boots with the same batch
file
as
before,
giving me the same choice between 3 pre-loaded images on the
hard
disk
(EBOOT.BIN, SBOOT.BIN & NK.BIN); but nk.bin is not MY image.
(keep in mind the ARTiGO comes pre-assembled with a hard disk
and
the
boot
loader)
I don't seem to see an option to load my freshly downloaded
image?
Thanks for any ideas.
-John
- References:
- Where does the image go, how can I boot it?
- From: JohnKoz
- Re: Where does the image go, how can I boot it?
- From: Bruce Eitman [eMVP]
- Re: Where does the image go, how can I boot it?
- From: JohnKoz
- Re: Where does the image go, how can I boot it?
- From: Bruce Eitman [eMVP]
- Re: Where does the image go, how can I boot it?
- From: JohnKoz
- Re: Where does the image go, how can I boot it?
- From: Paul G. Tobey [eMVP]
- Re: Where does the image go, how can I boot it?
- From: Bruce Eitman [eMVP]
- Re: Where does the image go, how can I boot it?
- From: JohnKoz
- Re: Where does the image go, how can I boot it?
- From: JohnKoz
- Re: Where does the image go, how can I boot it?
- From: Paul G. Tobey [eMVP]
- Where does the image go, how can I boot it?
- Prev by Date: Re: iltiming and osbench compile
- Next by Date: Re: NDIS unbind (or rebind) does not happen correctly
- Previous by thread: Re: Where does the image go, how can I boot it?
- Next by thread: SDRAM self-refresh
- Index(es):
Relevant Pages
|