Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 03-15-2013, 11:41 AM   #1
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Buildroot - new Processor Target options

Users of buildroot may note the recent addition of revisions for the arm1136jf_s processor targets.

(pictured)

[root@kindle root]# cat /proc/cpuinfo
Quote:
Processor : ARMv6-compatible processor rev 3 (v6l)
BogoMIPS : 255.59
Features : swp half thumb fastmult vfp edsp java
CPU implementer : 0x41
CPU architecture: 6TEJ
CPU variant : 0x1
CPU part : 0xb36
CPU revision : 3
I think we are good to go with rev 1 therefore...

according to http://infocenter.arm.com/help/index.../I1022730.html

and http://infocenter.arm.com/help/index.../Babgbeed.html

Noted here for posterity and reference.
Attached Thumbnails
Click image for larger version

Name:	Selection_172.png
Views:	335
Size:	11.4 KB
ID:	102905   Click image for larger version

Name:	Selection_173.png
Views:	344
Size:	59.2 KB
ID:	102906  

Last edited by twobob; 03-15-2013 at 11:49 AM.
twobob is offline   Reply With Quote
Old 03-15-2013, 12:01 PM   #2
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
In addition to this... I will be trying the 2012.03 Toolchain with
CFLAGS="-mabi=aapcs-linux -mfloat-abi=softfp" for building on the earlier devices via buildroot today at some point.

See what breaks. I note QT5 has FINALLY made an appearance so possibly I'll chuck that in for kicks.

And why not "Prefer Static Libraries" to really try and break things. : )

Last edited by twobob; 03-15-2013 at 12:08 PM.
twobob is offline   Reply With Quote
Old 03-15-2013, 12:05 PM   #3
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
And why not "Prefer Static Libraries" ??
Code:
networking/lib.a(inetd.o): In function `reread_config_file':
inetd.c:(.text.reread_config_file+0x988): warning: Using 'getservbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
networking/lib.a(netstat.o): In function `ip_port_str':
netstat.c:(.text.ip_port_str+0x48): warning: Using 'getservbyport' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
networking/lib.a(inetd.o): In function `reread_config_file':
inetd.c:(.text.reread_config_file+0x8e8): warning: Using 'getrpcbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
lol... that's why not... turning it off now then
twobob is offline   Reply With Quote
Old 03-16-2013, 12:45 PM   #4
NullNix
Guru
NullNix ought to be getting tired of karma fortunes by now.NullNix ought to be getting tired of karma fortunes by now.NullNix ought to be getting tired of karma fortunes by now.NullNix ought to be getting tired of karma fortunes by now.NullNix ought to be getting tired of karma fortunes by now.NullNix ought to be getting tired of karma fortunes by now.NullNix ought to be getting tired of karma fortunes by now.NullNix ought to be getting tired of karma fortunes by now.NullNix ought to be getting tired of karma fortunes by now.NullNix ought to be getting tired of karma fortunes by now.NullNix ought to be getting tired of karma fortunes by now.
 
Posts: 916
Karma: 13928438
Join Date: Jan 2013
Location: Ely, Cambridgeshire, UK
Device: Kindle Oasis 3, Kindle Oasis 1
Quote:
Originally Posted by twobob View Post
And why not "Prefer Static Libraries" ??
Code:
networking/lib.a(inetd.o): In function `reread_config_file':
inetd.c:(.text.reread_config_file+0x988): warning: Using 'getservbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
networking/lib.a(netstat.o): In function `ip_port_str':
netstat.c:(.text.ip_port_str+0x48): warning: Using 'getservbyport' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
networking/lib.a(inetd.o): In function `reread_config_file':
inetd.c:(.text.reread_config_file+0x8e8): warning: Using 'getrpcbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
lol... that's why not... turning it off now then
Yeah, in general the glibc people *hate* static linking. There are no ABI guarantees between glibc releases for .o files and only limited guarantees for .a files: it produces huge binaries (not what you want on a Kindle), and, well, the problem you're seeing is because name resolution depends on dynamic linking anyway, to invoke the NSS libraries! So even a statically linked glibc program has to link in what amounts to a static version of /lib/ld-linux.so.2 anyway. (It's not quite the same as the normal dynamic loader -- it doesn't support dlmopen() for instance -- but it is built from the same source code and is mostly the same. Except that it takes up space in every binary.)

Static linking is for your /bin/busybox and /sbin/sln only (and the latter only because you need it to recover a b0rked glibc installation). Just forget about it for everything else, and you'll be happier.
NullNix is offline   Reply With Quote
Old 03-17-2013, 05:58 AM   #5
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
the above quoted error was actually from the busybox build.
i ended up doing a make clean on the entire BR project to coax the pkg config into meaningful service.
thanks for the other points.

im still ending up with UND symbols. doh. >:|

EDIT trying to do some linker cramming but I know so very little...

Last edited by twobob; 03-17-2013 at 07:59 AM.
twobob is offline   Reply With Quote
Reply

Tags
armv6l, kindle 3, processor


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Buildroot a linux 2.6.26-lab126 kernal. (3.3) twobob Kindle Developer's Corner 155 05-08-2016 12:08 AM
Buildroot - Things added for the kindle twobob Kindle Developer's Corner 2 08-22-2013 10:18 AM
Making a ctng Toolchain for the Kindle Touch via Buildroot twobob Kindle Developer's Corner 16 11-25-2012 08:35 PM
building libglib2-2.30.x with a 5 year old toolchain for the Kindle 3 via buildroot twobob Kindle Developer's Corner 0 11-02-2012 11:11 PM
buildroot with the K3 qlob Kindle Developer's Corner 31 10-19-2012 05:15 PM


All times are GMT -4. The time now is 12:09 PM.


MobileRead.com is a privately owned, operated and funded community.