Re: [Openocd-development] jimtcl compile error

2011-10-25 Thread Alexander Stein
On Monday 24 October 2011 20:24:57 billium wrote:
 I am trying to update openocd but it fails to build:
 
 In function `Jim_Nvp_name2value_obj':
 jim-nvp.c:(.text+0xc7): undefined reference to `Jim_String'
 
 This is repeated four times for other instances of Jim_String.
 
 I am using amd64 on Gentoo, with the 999 ebuild which pulls from git.
 Anybody come across this or know what I am doing wrong?
 
 Incidentally there is a member of the the Nashoba Valley Photo Club
 (NVPC) called Jim

As Peter already said, something was moved from jimtcl into openocd. You need 
to recompile dev-lang/jimtcl- and openocd should compile again afterwards.

Regards,
Alexander
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development


Re: [Openocd-development] Make fails

2011-05-04 Thread Alexander Stein
Hi,

Am Mittwoch, 4. Mai 2011, 10:25:20 schrieb Andrew Ashworth:
 OK, I've spent a couple hours since that last email trying to build
 openOCD. Soon as I go through one of these errors, another pops up.

Ah, GCC-4.6 user :)

 Anyone
 have any insight on this one? I'm not sure what mode does.

I guess, mode is the ARM core mode, e.g. svc, abort, user, irq, fiq (did I 
miss one?). Though I'm still wondering why it is written back.

 arm_simulator.c: In function 'arm_simulate_step_core':
 arm_simulator.c:669:18: error: variable 'mode' set but not used
 [-Werror=unused-but-set-variable]
 arm_simulator.c:725:18: error: variable 'mode' set but not used
 [-Werror=unused-but-set-variable]
 cc1: all warnings being treated as errors
 
 in arm_simulator.c, line 725 follows:
 
 enum arm_mode mode = sim-get_mode(sim);
 
 for (i = 0; i  16; i++)
 {
 if (instruction.info.load_store_multiple.register_list  (1  i))
 bits_set++;
 }
 
 if (instruction.info.load_store_multiple.S)
 {
 mode = ARM_MODE_USR;
 }

Also please post code with indention, otherwise it's hardly readable.

Regards,
Alexander
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development


[Openocd-development] NOR-flash programming using CFI is broken on arm11

2011-01-31 Thread Alexander Stein
Hello,

I cannot reprogram my NOR-Flash on an ARM11-Board (I.mx35 actually) while it 
worked before. I bisected the problem to commit 
aa61a3b3d8b6acad19050987835ec05f3d298bdb. This seem to change the arch 
detection which doesn't work for arm11.

Any ideas how to fix that? Especially as there is no is_arm11() or similar.

Best regards,
Alexander
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development


Re: [Openocd-development] NOR-flash programming using CFI is broken on arm11

2011-01-31 Thread Alexander Stein
Hello,

On Monday 31 January 2011, 10:33:50 Øyvind Harboe wrote:
 How's this?

This works fine. Thanks

Regards,
Alexander
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development