Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    tjader
    @tjader:tjader.xyz
    [m]
    bq's stock or Debian's stock?
    Martín Fernández
    @pazos
    check your uname
    If that's 3.0x you're ok :)
    tjader
    @tjader:tjader.xyz
    [m]
    I recall trying a new Debian with bq's kernel and something not working
    Martín Fernández
    @pazos
    devtmpfs was added to 2.6.32
    tjader
    @tjader:tjader.xyz
    [m]
    I guess I'll have to try again some day
    Martín Fernández
    @pazos
    It is difficult to diagnose that
    Again, I'm fully stock
    The only packages outside debian repos are safemode and hwconfig
    tjader
    @tjader:tjader.xyz
    [m]
    Yeah, it's hard when you don't even have serial
    Martín Fernández
    @pazos
    hwconfig should be an utility to read the NTX blob on the emmc
    tjader
    @tjader:tjader.xyz
    [m]
    But now that I know it's possible I will try again
    No firmware blob needed for the WiFi?
    Martín Fernández
    @pazos
    Yup
    But that's avanced
    1st make sure you're able to boot to usbnet
    2nd use usbnet to bring up wifi
    3rd setup debian as you like and tune your rc.local / systemd service
    tjader
    @tjader:tjader.xyz
    [m]
    When I tried it it was with booting from.SD card, my first milestone would be putting something like touch /whatever on rc.local and seeing the file appear on the sdcard
    That would prove the kernel boots and mounts the rootfs
    Martín Fernández
    @pazos
    cool
    from the PoV of KOReader you're fine with stock debian with a few added stuff
    some other stuff relies on some bits of ntxinfo, see https://github.com/koreader/koreader/tree/master/platform/cervantes
    Martín Fernández
    @pazos
    while the (enable|disable)/(usbnet|usbms) are hosted as part of platform code they're never used. We rely on a 3rd party addon https://github.com/pazos/cervantes-safemode
    So you can hardcode scripts to your device and build a new safemode.deb to install.
    It is also possible to write a new implementation of ntxinfo with just the bits needed for KO
    tjader
    @tjader:tjader.xyz
    [m]
    Yeah, but first I have to get it to boot :p
    yparitcher
    @yparitcher
    @NiLuJe
    Are the Toolchains portable?
    Can i tar up $HOME/x-tools and deploy it.
    no absolute paths, and built for x86_64 not march=native
    I was thinking of having github actions autobuilding the TC to have available.
    @Frenzie
    Github actions really does not behave with docker (also I don't have docker locally to test)
    I was thinking of taking all the build dependencies scripts from koreader/.ci, koreader-base/.ci and virdevenv and abstracting them to a git subtree or submodule to de-duplicate them. allowing us to use Github Actions while at the same time letting the docker work.
    yparitcher
    @yparitcher
    Also the LuaJIT + Luarocks installed in the docker and ci, is 5 years old.
    we might want to just use the regular ones or a properly updated version
    NiLuJe
    @NiLuJe
    @yparitcher: As long as the glibc (+/- a few other libs) is >= than the build machine, yes
    Yeah, we really want LuaJIT v2.1 from git, because there aren't any recent tags, whereas, IIRC, LuaRocks is tagged so we can use a recent release
    tjader
    @tjader:tjader.xyz
    [m]
    @pazos: I just did a bullseye debootstrap on my cervantes 4, but when I try to chroot into it I get "FATAL: kernel too old". My kernel is the stock one, 3.0.35-e60qp2+. How did you get around that?
    Frans de Jonge
    @Frenzie

    Also the LuaJIT + Luarocks installed in the docker and ci, is 5 years old.

    It is, but for the purposes of what it does it doesn't matter. Newer LuaRocks comes with a lot of issues from annoying design decisions that don't make sense to deal with imo without a rewrite of how this LuaRocks stuff is done.

    I was thinking of taking all the build dependencies scripts from koreader/.ci, koreader-base/.ci and virdevenv and abstracting them to a git subtree or submodule to de-duplicate them. allowing us to use Github Actions while at the same time letting the docker work.

    Can't you just pull them from virdevenv then? Using yet another git repo seems redundant at best.

    Paul Bennett
    @mapinguari
    Hey @Frenzie thanks for pointing this out to me.
    Is there any plugin you recommend for trying to get a handle on how everything interacts?
    I had a look through texteditor but it is just a bit difficult to get a handle on because there doesn't seem to be much in the docs about all the different keys for generating menus etc
    sorry to be a pain
    Frans de Jonge
    @Frenzie
    Paul Bennett
    @mapinguari
    Hey @Frenzie yeah I saw the docs, it is just difficult to see what is going on. For example in http://koreader.rocks/doc/modules/ui.widget.container.inputcontainer.html it wasn't at all clear to me how to register a callback for a "Home" key press until I went and saw it in the readerui code. Now I have seen that and looking at the top of the module docs I am still not entirely clear what the form of the table I am passing into the key_events table is because I can see more keys like "doc" but I am not really sure what they do or how to get a complete list of valid values and what the effects of setting them are.
    Frans de Jonge
    @Frenzie
    (sorry for brevity, on phone)
    Paul Bennett
    @mapinguari
    :D nothing to apologise for I appreciate the help very much!
    Frans de Jonge
    @Frenzie
    Anyway, there's not really a full list as such. I linked to it but you should count on none of those being available. It's important to handle a bit of basic FocusManager and Back for users who do depend on certain buttons but not everything can be made to work with only two buttons and a d-pad.
    Paul Bennett
    @mapinguari
    tbh at this point I am not trying to support all devices, just get something that works on my device and then think about building it out if it works. I think I am just being lazy and hoping for some hidden docs somewhere or something. I will try to add to the docs in a constructive way