industrialNETworXnetx

M T

M T

Hilscher Gesellschaft für Systemautomation mbH

| 26.07.2007 | 08:19 | 6 replies

Boot from SD-Flashcard

I hope you don't run into a problem with booting from SD-Cards (see Chapter 11 in the netX Errata sheet).
But i suppose the problem is somewhere else (probably some problems with the linker description file).

The checksum fields are simple additions over the bootheader/application that are multiplied by -1 afterwards (for easier checking). It's ok that they do differ.

Did you check the entry and relocation start points that are patched into the bootheader?

The bootwizard uses the first section with the flags "WAX" (see arm-hitex-elf-readelf -S <.elf>) as relocation start address and the file length as total length. Check your linker file if you mixed sections and make sure you don't mix load and noload sections.

Also make sure that your resulting binary file has a filesize multiple of 4. This should be done automatically, but we had some linker description files that generated odd file sizes in the binary section.

Also make sure that the entrypoint is correct for your application (arm-hitex-elf-readelf -l <.elf>).

Regards

MT

Andreas Jacob

Andreas Jacob

Hilscher Gesellschaft fuer Systemautomation mbH

| 27.07.2007 | 14:12

Yes, it is related to the entry into the netX Errata sheet ( Point 11).

Please use the attached binary as a workaround.

Flash it into your SPI flash from the board with the Bootwizard tool.

| 06.08.2007 | 16:47

thank you!

now it works perfect. It would be important for us to access the sd-card after the boot process. Is there also the source code available in order to develop applications which can access the sd-card.

Martin

Andreas Jacob

Andreas Jacob

Hilscher Gesellschaft fuer Systemautomation mbH

| 06.08.2007 | 16:59

Sorry, but as i know, does Hilscher NOT provide the source code for the 2nd stage loader.

Andreas Jacob

Andreas Jacob

Hilscher Gesellschaft fuer Systemautomation mbH

| 13.08.2007 | 13:06

Hi pgsellmann,

we use the FAT format under windows for the SD cards.

You can check your boot image with the Bootwizard application.
Open Bootwitzard -> Rub Wizard -> check bootimage.

Andreas Jacob

Andreas Jacob

Hilscher Gesellschaft fuer Systemautomation mbH

| 13.08.2007 | 16:00

Hi pgsellmann,

as I know is the FAT16 used to format the SD cards.

I also do not know if there exists a debug version of the hboot.

Greets

Andreas Jacob

Andreas Jacob

Hilscher Gesellschaft fuer Systemautomation mbH

| 15.08.2007 | 06:06

Hi pgsellmann,

thank you for this helpful information.

Greets

Login