Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor QoL tweaks for easier installation #6

Merged
merged 8 commits into from
Apr 20, 2020

Conversation

NiLuJe
Copy link
Contributor

@NiLuJe NiLuJe commented Apr 19, 2020

Mainly by automating the creation of a properly laid-out ZIP ;) (re #4 & #5).

Also, clear up the TC shenanigans in the doc, and detect and handle a "matching" TC (i.e., nickel's).

@NiLuJe NiLuJe changed the title Minor QoS tweaks for easier installation Minor QoL tweaks for easier installation Apr 19, 2020
@NiLuJe
Copy link
Contributor Author

NiLuJe commented Apr 19, 2020

(I actually tried the KFMon script and a GCC 4.9 build, everything looks fine ;)).

# Attempt to automatically drop -static-libstdc++ when using the Nickel TC...
ifeq ($(shell PATH='$(PATH)' $(CROSS_TC)-gcc -dumpmachine 2>/dev/null), arm-nickel-linux-gnueabihf)
STATIC_STL_FLAG:=
# What can I say, it's old...
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds fun :)

Copy link
Contributor Author

@NiLuJe NiLuJe Apr 21, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To be fair, the Kindle rootfs is also ridiculously old (and softfloat), the PocketBoot rootfs has only recently been updated, and it's not terribly fresh either.

reMarkable seem to care a bit more about these things, they're using a fairly recent rootfs, as well as slightly less old kernels (given the NXP constraints when targeting an i.MX6/i.MX7 board).

- `koboroot/inkvt.png` to `/inkvt.png`
- `koboroot/inkvt.ini` to `/.adds/kfmon/config/inkvt.ini`
Then, in a standard USBMS session, unpack the `InkVT-*.zip` archive to the root of your Kobo device.
Eject & unplug it safely, and let it process the new InkVT "book".
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A .zip might indeed be a lot easier installation method

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The salient point being that you need an USBMS session for nickel to "scan" new content (even a reboot won't do that), so doing it this way usually means that requirement automatically gets met ;).

(That's only relevant if you want the KFMon integration to work, i.e., on a first install. Otherwise, just pushing stuff over SSH will do just fine ;)).

@llandsmeer llandsmeer merged commit 6db4f4a into llandsmeer:master Apr 20, 2020
@llandsmeer
Copy link
Owner

Build works flawless, including already existing other binaries 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants