07-27-2016, 03:56 PM | #61 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
You are bumping a 5 year old thread here.
No, not anything posted here. You are mistaken. Kindles more recent than the PW-1 are running the NXP (previously Freescale, previously Motorola), i.MX6 sololite soc, see: https://cache.freescale.com/files/32.../IMX6SRSFS.pdf The ARM, Cortex-A9, implements the ARMv7-A architecture. Last edited by knc1; 07-27-2016 at 03:59 PM. |
07-27-2016, 04:13 PM | #62 |
BLAM!
Posts: 13,494
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Up until the K4, they were using ARMv6 CPUs, yeah (v6j, arm 1136jf-s). Since the K4, they switched to ARMv7 (Cortex A8, then A9).
EDIT: Missed a new page again, yay! ^^. |
Advert | |
|
07-28-2016, 01:26 AM | #63 | |
Junior Member
Posts: 3
Karma: 10
Join Date: Jul 2016
Device: K3G
|
I'm aware. This was the most relevant place to ask the question. I'm not worried about arbitrary enforcement of ancient forum etiquette, although I'm sure you have some logical reason for being concerned.
Quote:
|
|
07-28-2016, 08:15 AM | #64 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
I bump ancient threads too if they are the most relevant.
Most social conventions and unofficial rules never made much sense to me, because they are all-too-often based on the same principles as the Five Monkeys Experiment and the Pot Roast Story. Standards however, an entirely different matter. https://xkcd.com/927/ There is no need to limit yourself to Optware. I made a full debian root that works in my kindles, based on instructions posted elsewhere by twobob. More flexibility but (if not careful) more memory usage too. Swap files are the key... Last edited by geekmaster; 07-28-2016 at 08:23 AM. |
07-28-2016, 08:18 AM | #65 | ||
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
They are very cheap here. Quote:
You said that v5 builds are available - use those. Note: There are reasons this thread has remained idle for five years. But since you are convinced that only 'ancient forum etiquette' is involved, I will let you discover them yourself. |
||
Advert | |
|
07-28-2016, 08:36 AM | #66 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Some people bricked their kindles with optware loop mounts. A good (but hard) lesson to learn...
|
07-28-2016, 09:59 AM | #67 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Plus, you can run 'normal' Linux distribution binaries from user storage, even when that requires using different system libraries.
I.E: Use different system libraries **concurrently** with those the Kindle's firmware is built against. The one worked example I provided can be found in the "ARMhf on Kindles" thread. The maintainers of Buildroot even extended it to support the tool(s) required for the purpose. Translation: You are trying to re-invent a really bad wheel that has long ago been superseded. Last edited by knc1; 07-28-2016 at 10:02 AM. |
07-28-2016, 06:30 PM | #68 |
Junior Member
Posts: 3
Karma: 10
Join Date: Jul 2016
Device: K3G
|
To be fair, the last post before mine was a little under 2.5 years old but I understand it has been idle for a long time, and for what sounds like good reasons. The main reason I posted here was that I was directed to this thread via the Kindle Hacks Information wiki page, which presents this thread and optware as the most current package management solution. I figured other lurkers (as I formerly was) who are being directed here might benefit from some updated info.
I wasn't sure if ARM was legacy compatible, but now I will give that a try, along with researching some of the other methods that you and geekmaster have mentioned here. If I figure anything out or have any questions I will post a new thread. Thanks all for the info |
07-28-2016, 06:56 PM | #69 |
BLAM!
Posts: 13,494
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
As @GM experimented, unless you go so far back as to hit an ARM ABI switch, then, yeah, it's fully backwards compatible .
|
07-28-2016, 08:38 PM | #70 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
The ABI changed after the K1, but gmplay built for the K3 works fine on everything from the K2 to the KV (and probably the Oasis, though I need to publish my KUAL extension so somebody can try it without needing SSH).
I was rather difficult finding a toolchain that works on the K1, but I ultimately succeeded (as can be seen from the thread linked to the K1 "jailbreak" in the jailbreak index sticky thread. I am curious though why some extensions pack two versions of executables for older and newer kindles (perhaps three versions if I add K1 support to them). Last edited by geekmaster; 07-28-2016 at 08:40 PM. |
07-28-2016, 09:57 PM | #71 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
If the executables use Java, then it is because the libraries are different between keyboard devices and touchscreen devices.
|
12-11-2023, 09:48 AM | #72 |
Junior Member
Posts: 3
Karma: 10
Join Date: Dec 2023
Device: PW3
|
install_optware.sh
Code:
#!/bin/bash # Make root file system writable mntroot rw # Change to the /opt directory cd /opt # Set the Optware feed URL feed="http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable" # Download the ipkg-opt package wget "${feed}/ipkg-opt_0.99.163-10_arm.ipk" # Extract the ipkg-opt package tar -xOvzf ipkg-opt_0.99.163-10_arm.ipk ./data.tar.gz | tar -C / -xzvf - # Create the ipkg directory mkdir -p /opt/etc/ipkg # Configure the Optware feed echo "src cross $feed" > /opt/etc/ipkg/feeds.conf # Update the package manager export PATH=$PATH:/opt/bin ipkg update # Make root file system read-only mntroot ro Last edited by crazyren; 12-11-2023 at 09:50 AM. |
12-11-2023, 10:22 AM | #73 | |
Junior Member
Posts: 3
Karma: 10
Join Date: Dec 2023
Device: PW3
|
update
updated code
[I]-m for mount only [/I] Code:
#!/bin/bash # Flag to determine whether to mount the existing ext3 image file MOUNT_ONLY=false # Set the path to the local.ext3 file LOCAL_EXT3_FILE="/mnt/us/local.ext3" # Set the size of the ext3 image file in megabytes EXT3_IMAGE_SIZE=500 # Function to display script usage show_usage() { echo "Usage: $0 [-m]" echo " -m Mount the existing ext3 image file" exit 1 } # Process command-line options while getopts ":m" opt; do case $opt in m) MOUNT_ONLY=true ;; \?) echo "Invalid option: -$OPTARG" show_usage ;; esac done # Function to create and copy the ext3 image file create_ext3_image() { dd if=/dev/zero of="$LOCAL_EXT3_FILE" bs=1M count="$EXT3_IMAGE_SIZE" mkfs.ext3 "$LOCAL_EXT3_FILE" cp "$LOCAL_EXT3_FILE" /media/Kindle } # Function to mount the ext3 image file mount_ext3_image() { mntroot rw mkdir -p /mnt/loc mount -o loop,noatime -t ext3 "$LOCAL_EXT3_FILE" /mnt/loc mkdir -p /mnt/loc/opt/etc /mnt/loc/opt/share /mnt/loc/opt/lib /mnt/loc/opt/bin /mnt/loc/opt/tmp ln -s /mnt/loc/opt/etc /opt/etc ln -s /mnt/loc/opt/share /opt/share ln -s /mnt/loc/opt/lib /opt/lib ln -s /mnt/loc/opt/bin /opt/bin ln -s /mnt/loc/opt/tmp /opt/tmp mntroot ro } # Function to install OptWare install_optware() { cd /opt/etc feed="http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable" wget "${feed}/ipkg-opt_0.99.163-10_arm.ipk" tar -xOvzf ipkg-opt_0.99.163-10_arm.ipk ./data.tar.gz | tar -C /mnt/loc -xzvf - mkdir -p /opt/etc/ipkg echo "src cross $feed" > /opt/etc/ipkg/feeds.conf export PATH=$PATH:/opt/bin ipkg -t /opt/tmp update } # Main script if [ "$MOUNT_ONLY" = false ]; then create_ext3_image mount_ext3_image install_optware fi if [ "$MOUNT_ONLY" = true ]; then mount_ext3_image fi Quote:
|
|
12-11-2023, 02:48 PM | #74 | ||
Junior Member
Posts: 3
Karma: 10
Join Date: Dec 2023
Device: PW3
|
Ipkg.sh
Here is a little script to automate everything sorry for the multiple posts on an old thread but I can't seem to edit them.
Copy the script onto /mnt/us/ and make sure to chmod +x [#] First run Code:
./ipkg.sh -m param i.e Code:
./ipkg.sh -m Code:
ipkg -t /opt/tmp install nmap Quote:
Quote:
Ipkg.sh PHP Code:
|
||
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
The Frugal Kindle ~ Frugal Finds Under $9 for the Kindle (Kindle eBook Resource) | eTrubrown | Self-Promotions by Authors and Publishers | 3 | 10-10-2010 06:12 PM |
Transfer Kindle books from Kindle PC to Kindle 3 | ppearce | Amazon Kindle | 15 | 09-16-2010 05:11 PM |
Font hacks for the Kindle 2, Kindle International and Kindle DX | edge777 | Kindle Developer's Corner | 17 | 04-30-2010 04:11 PM |
$0.01 in Kindle Store: Interactive Sudoku for Kindle 2 and Kindle DX - Volume 1 | Xia | Deals and Resources (No Self-Promotion or Affiliate Links) | 2 | 11-07-2009 10:06 AM |