Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.embedded > #244

Re: ARM developer community a bunch of wankers

Date 2012-04-21 16:28 -0600
From OldGoat <oats@farmerbrowns.com>
Newsgroups comp.os.linux.advocacy, comp.os.linux.embedded
Subject Re: ARM developer community a bunch of wankers
References <O%fkr.41649$sr.24287@news.usenetserver.com> <ich869-av3.ln1@sky.matrix> <B7Ekr.114309$4z7.55459@fx08.am4>
Message-ID <VZqdncf__tcWqQ7SnZ2dnUVZ_radnZ2d@bresnan.com> (permalink)

Cross-posted to 2 groups.

Show all headers | View raw


On 4/21/2012 1:45 PM, 7 wrote:
> Homer wrote:
>
>> Verily I say unto thee that Hardon spake thusly:
>>>
>>> <http://www.pcworld.com/businesscenter/article/254097/70_arm_pc_can_run_android_and_ubuntu_linux.html>
>> [...]
>>> `Currently available for as little as $70, the Mele A1000 is a small
>>> ARM device that runs Android but can apparently be configured to run
>>> Ubuntu Linux as well.
>>> </quote>
>>
>> And since the GPU is a Mali 400 MP, that means the driver is Free
>> Software too.
>>
>> http://limadriver.org
>
>
> I'm eager to understand a bit of graphics controller code,
> so I pulled down the driver for the mali graphics controller...
>
> The ARM developer community is really a bunch of wankers:
>
> limare.c:
> state->pp = pp_info_create(state, state->mem_address + 0x80000,
> 	state->mem_physical + 0x80000,
> 	0x1000, state->mem_physical + 0x100000);
>
>
> Supposing the meaningless 0x1000 was really 0x10000
> So to go and fix an error in this code, the ARM developer
> aka super wankers will now grep for 0x1000.
>
> Doh!!!!!!!!!!!!!!!!!
>
> The root of the blame game goes back to ARM holdings again and again
> and their dumbness in not coming out earlier with the CMSIS
> libraries, and what they have out now has been written
> so poorly it deserves special criticism:
>
> They wrote the CMSIS libraries with names for registers
> but without any names for flags within registers!!!
>
> If they don't know how to write C libraries properly, then they should
> be shot, or at the very least, go with begging bowl
> and download some microchip code for their gcc based compiler
> running through the Netbean IDE and look at how they have
> named registers and flags with their data structure so that
> registers can be programmed without using references to hard
> coded numbers in the C code.
>
>
Ok, I see your point on the flags issue.  It has always been a 
recommended practice to park constants like these into a constant 
identifier.  At least the code would be a bit easier to understand... 
plus you only have one place for the constant identifier to be 
initialized, rather than going to every place in the code in case there 
was a typo.

Back to comp.os.linux.embedded | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

ARM developer community a bunch of wankers 7 <email_at_www_at_enemygadgets_dot_com@enemygadgets.com> - 2012-04-21 20:45 +0100
  Re: ARM developer community a bunch of wankers Hadron<hadronquark@gmail.com> - 2012-04-21 22:36 +0200
    Re: ARM developer community a bunch of wankers 7 <email_at_www_at_enemygadgets_dot_com@enemygadgets.com> - 2012-04-21 21:57 +0100
      Re: ARM developer community a bunch of wankers Hadron<hadronquark@gmail.com> - 2012-04-21 23:02 +0200
        Re: ARM developer community a bunch of wankers Peter Köhlmann <peter-koehlmann@t-online.de> - 2012-04-21 23:11 +0200
        Re: ARM developer community a bunch of wankers 7 <email_at_www_at_enemygadgets_dot_com@enemygadgets.com> - 2012-04-21 23:38 +0100
          Re: ARM developer community a bunch of wankers Scott Wood <scott@buserror.net> - 2012-04-23 00:35 -0500
    Re: ARM developer community a bunch of wankers Peter Köhlmann <peter-koehlmann@t-online.de> - 2012-04-21 23:06 +0200
  Re: ARM developer community a bunch of wankers OldGoat <oats@farmerbrowns.com> - 2012-04-21 16:28 -0600
    Re: ARM developer community a bunch of wankers Hadron<hadronquark@gmail.com> - 2012-04-22 00:49 +0200
      Re: ARM developer community a bunch of wankers OldGoat <oats@farmerbrowns.com> - 2012-04-21 23:13 -0600
  Re: ARM developer community a bunch of wankers Foster <frankfoster50@yahoo.com> - 2012-04-22 09:22 -0400
    Re: ARM developer community a bunch of wankers 7 <email_at_www_at_enemygadgets_dot_com@enemygadgets.com> - 2012-04-22 15:03 +0100
    Re: ARM developer community a bunch of wankers Hadron<hadronquark@gmail.com> - 2012-04-22 16:24 +0200

csiph-web