![]() |
#16 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 124
Karma: 178472
Join Date: Jul 2012
Device: Kindle 4
|
and now i just need to choose which virtualisation software (i have vmware installed from using windows ages ago, i guess i'd prefer whichever is faster/less resource-abusing), and which linux distro (pre-installed vm image i guess)
![]() |
![]() |
![]() |
![]() |
#17 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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
|
I vote linux mint.
|
![]() |
![]() |
Advert | |
|
![]() |
#18 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 124
Karma: 178472
Join Date: Jul 2012
Device: Kindle 4
|
sounds fresh!
|
![]() |
![]() |
![]() |
#19 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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
|
it's a breeze to install.
put in disc (.img file, whatever). boot, click install mint icon on desktop. (follow BASIC instructions) reboot. done. awesome Last edited by twobob; 09-14-2012 at 08:35 PM. Reason: clearerness |
![]() |
![]() |
![]() |
#22 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 56
Karma: 40393
Join Date: May 2012
Device: Kindle Touch
|
I got error when compiling ffmpeg. I have liblto_plugin.so but don't no where to put it correctly. Anyone knows?
Code:
/root/sbox2/x-tools.old/arm-cortex_a8-linux-gnueabi/arm-cortex_a8-linux-gnueabi/bin/gcc --sysroot=/root/sbox2/devel/ -o /tmp/ffconf.cydVvzUn /tmp/ffconf.D3vmDeXQ.o gcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found compilation terminated. C compiler test failed. |
![]() |
![]() |
![]() |
#23 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Either disable that bit of test code, or Do the build with scratchbox2, or Fix the build system so it can execute ARM code. (Some distros come that way, others by installing qemu-kvm and qemu-kvm-extras will do the setup for you, for others, your on your own. Since scratchbox2 requires qemu-and-friends to be installed, start with that if you can't by-pass the code test.) |
|
![]() |
![]() |
![]() |
#24 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 56
Karma: 40393
Join Date: May 2012
Device: Kindle Touch
|
@knc: I've built with scratchbox2 ( type sb2 then ./configure ). I'm also gcc simple hello world program and use. My test result below:
Code:
[SB2 simple armhf] root@ppoo-VPCEH15FX devel $ readelf -A a.out Attribute Section: aeabi File Attributes Tag_CPU_name: "Cortex-A8" Tag_CPU_arch: v7 Tag_CPU_arch_profile: Application Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-2 Tag_FP_arch: VFPv3 Tag_Advanced_SIMD_arch: NEONv1 Tag_ABI_PCS_wchar_t: 4 Tag_ABI_FP_denormal: Needed Tag_ABI_FP_exceptions: Needed Tag_ABI_FP_number_model: IEEE 754 Tag_ABI_align_needed: 8-byte Tag_ABI_align_preserved: 8-byte, except leaf SP Tag_ABI_enum_size: int Tag_ABI_HardFP_use: SP and DP Tag_ABI_VFP_args: VFP registers Tag_CPU_unaligned_access: v6 Tag_DIV_use: Not allowed Tag_Virtualization_use: TrustZone [SB2 simple armhf] root@ppoo-VPCEH15FX devel $ ./a.out hello world[SB2 simple armhf] root@ppoo-VPCEH15FX devel $ |
![]() |
![]() |
![]() |
#25 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
I have a full static build of ffmpeg with all the options enabled (except ALSA sound, which was removed so that I could get it to compile). I thought I published in my "geekmaster kindle video player" thread. I have more than 4000 posts here -- hard to remember them all...
I was successfully able to play 1080p movies (with sound) on my K5 by using ffmpeg to play the network stream from the blender site, with video output piped to raw2gmv|gmplay, and another ffmpeg playing the same stream (in the background), with audio output piped to aplay. I tested it on DX/DXG/K3/K4/K5. The K4/K5 can simultaneously transcode 1080p and play it smoothly, but on a K3 I had to transcode on a host PC and pipe that to the K3 with netcat (nc), or pre-encode it as a .gmv.gz file. EDIT: I cannot find where I posted ffmpeg -- did I? Perhaps I did not get around to it yet. "Round tuits" are rare and easily misplaced. ![]() Last edited by geekmaster; 09-24-2012 at 10:01 AM. |
![]() |
![]() |
![]() |
#26 |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
@ppoo : That is a hard float configuration, switch to soft float for compat. with Kindle.
|
![]() |
![]() |
![]() |
#27 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 56
Karma: 40393
Join Date: May 2012
Device: Kindle Touch
|
I think it's ok to compile it with hard float configuration, like ./mplayer ( I usually run it and it run well ). I want to figure how to fix that error.
Code:
[SB2 simple armhf] root@ppoo-VPCEH15FX ~ $ readelf -A ./mplayer Attribute Section: aeabi File Attributes Tag_CPU_name: "7-A" Tag_CPU_arch: v7 Tag_CPU_arch_profile: Application Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-2 Tag_FP_arch: VFPv3 Tag_Advanced_SIMD_arch: NEONv1 Tag_ABI_PCS_wchar_t: 4 Tag_ABI_FP_denormal: Needed Tag_ABI_FP_exceptions: Needed Tag_ABI_FP_number_model: IEEE 754 Tag_ABI_align_needed: 8-byte Tag_ABI_enum_size: int Tag_ABI_HardFP_use: SP and DP Tag_CPU_unaligned_access: v6 |
![]() |
![]() |
![]() |
#28 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@ppoo: I'd also recommend against both a hardfloat & LTO TC. The Kindle system uses a softfp TC, so there's a chance things'll go kablooey somewhere, and I've had numerous ugly runtime breakage with LTO in the past (on ARM)... (And the very bad kind of breakage: bad code generation, not a nice & tidy segfault).
(Well, you *can* enable LTO support in your GCC config, just don't use it [-fuse-linker-plugin is used in conjuction with LTO]). Last edited by NiLuJe; 09-24-2012 at 01:46 PM. |
![]() |
![]() |
![]() |
#29 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 56
Karma: 40393
Join Date: May 2012
Device: Kindle Touch
|
@NiLuJe,knc1: I'll try again.
I've used cross-ng with CFLAGS:--with-float=softfp --with-fpu=neon both for GCC and Lib. It pass Installing C library headers & start files but get errors when Installing pass-2 core C compiler, with error like that: Code:
[ERROR] ./crosstool-ng-1.16.0/.build/arm-cortex_a8-linux-gnueabi/buildtools/arm-cortex_a8-linux-gnueabi/bin/ld: error: ./libgcc_s.so.1.tmp uses VFP register arguments, _muldi3_s.o does not Code:
ARCH_CPU=cortex-a8 CT_ARCH_FPU=neon ARCH_SUPPORT_WITH_FLOAT: hardware(FPU) CT_TARGET_CFLAGS= -mfloat-abi=softfp -mfpu=neon Linux kernel version : 2.6.31.14 binutils version : 2.22 CT_BINUTILS_PLUGINS: enable gcc version linaro-4.6-2012.07 Core gcc extra config, gcc extra config: --with-float=softfp --with-fpu=neon (the same with Library's extra target flags and gcc extra flags I've got it, ARCH_SUPPORT_WITH_FLOAT should be softfp Last edited by ppoo; 09-25-2012 at 07:22 AM. |
![]() |
![]() |
![]() |
#30 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 56
Karma: 40393
Join Date: May 2012
Device: Kindle Touch
|
How to disable LTO ?
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Compiling for Lubuntu (regarding compiling instructions) | jgratero | Sigil | 5 | 07-15-2012 07:54 PM |
Compiling Calibre on ARM processor | cbalmforth | Calibre | 6 | 01-05-2012 05:16 PM |
error while compiling calibre under fedora... | samy2 | Calibre | 3 | 05-21-2011 01:01 PM |
Web Companion - "Error while copying the prc file to its target folder." | evanj | Workshop | 0 | 11-28-2005 06:10 AM |