Modify

Opened 8 years ago

Closed 8 years ago

#3578 closed defect (fixed)

remove axis toolchain from etrax build break flash ability

Reported by: claudyus Owned by: blogic
Priority: normal Milestone:
Component: toolchain Version:
Keywords: Cc:

Description

Hi,
this ticket is referred to etrax platform. Blogic made a lot of work on this platform and the revision r11048 it is fully working.
Making this platform independent from axis toolchain (r11383 and above) break the compatibility with boot_linux (the axis utility used to flash etrax platform).

This is the output of boot_linux with an image built at r11048:

$ ./boot_linux -F -i openwrt-etrax-jffs2-64k-8MB -p
Command:
./etrax100boot --setreg b0000000 000095f8 --setreg b0000004 00000004 --setreg b000000c 09603737 --setreg b0000008 8000c002 --pause 20000 --setreg b0000008 8000c602 --setreg b0000008 8000c002 --setreg +0 7 --label label1 --setreg b0000008 8000c402 --setreg b0000008 8000c002 --loop +0 label1 --setreg b0000008 8030c202 --setreg b0000008 8000c002 --setreg b0000008 80008002 --setreg b0000030 00001cf0 --setreg b0000038 0000ce03 --file openwrt-etrax-jffs2-64k-8MB c0004000 --flash c0004000 0 800000 --jump 0

This is the output of boot_linux from trunk head:

$ ./boot_linux -F -i openwrt-etrax-jffs2-64k-8MB -p
Command:
./etrax100boot --setreg b0000000 000095a6 --setreg b0000004 00000104 --setreg b000000c 1a200040 --setreg b0000008 00005611 --setreg b0000030 00001c00 --setreg b0000038 000000ff --file openwrt-etrax-jffs2-64k-8MB c0004000 --flash c0004000 0 800000 --jump 0

Please note that the function extract_hw_settings inside https://dev.openwrt.org/browser/trunk/target/linux/etrax/image/boot_linux never loop inside while(1) at line 330; this means that the "hw information table" inside image is empty or missing.

Regards

Attachments (1)

compile.patch (6.0 KB) - added by anonymous 8 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 8 years ago by blogic

  • Owner changed from developers to blogic

comment:2 Changed 8 years ago by claudyus

This ticket can be fixed with the attached compile.patch

Please apply

Changed 8 years ago by anonymous

comment:3 Changed 8 years ago by claudyus

Fixed in r13137 with kernel update

This ticket can be closed

comment:4 Changed 8 years ago by florian

  • Resolution set to fixed
  • Status changed from new to closed

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.