Skip to content
Snippets Groups Projects

Feature/base pyra support

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • @atc Can you explain how you enable aufs, provide me the patch, or amend this pull request?

  • Nick Elsmore added 1 commit

    added 1 commit

    • c67cd63a - configs: letux_pyra_defconfig: Enable Pyra specific options

    Compare with previous version

  • @ToastBucket

    aufs: Patches are from https://github.com/sfjro/aufs4-standalone , in the branch named after the kernel version. For the latest kernels aufs does sometimes have long periods where the patches won't apply.

    apply with

    patch -p1 < ../../aufs4-standalone/aufs4-kbuild.patch
    patch -p1 < ../../aufs4-standalone/aufs4-base.patch
    patch -p1 < ../../aufs4-standalone/aufs4-mmap.patch
    patch -p1 < ../../aufs4-standalone/aufs4-standalone.patch
    cp ../../aufs4-standalone/Documentation . -r
    cp ../../aufs4-standalone/fs . -r
    cp ../../aufs4-standalone/include/uapi/linux/aufs_type.h include/uapi/linux/

    enable CONFIG_AUFS_FS as module

    kernel 5+ version patches are at https://github.com/sfjro/aufs5-standalone

    Edited by aTc
  • Nick Elsmore added 2 commits

    added 2 commits

    • 89d5c78d - aufs: Apply patches from aufs4-standalone project
    • 21314820 - configs: letux_pyra_defconfig: Enable Pyra specific options

    Compare with previous version

  • @atc Ok thanks. Patches have been applied. Can you check this out and test it for me? Also please let me know if I'm missing anything.

  • I add -pyra to the CONFIG_LOCALVERSION to differentiate it from the gta04 version.

    The Letux dir gets in the way when building the package, so i remove that before building.

    (make -j 8 ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- KBUILD_DEBARCH=armhf deb-pkg , I'm not sure if that's the best way of building a kernel.deb , but it has worked for me this far.) The Letux dir has all of HNS's rootfs configs and scripts in it, we handle that a bit nicer by having the parts we need in our own seperate packages.

    What's also missing is the sgx gpu driver module, I don't think those files are on this site yet. I'll do some digging and get them on here. I'm not sure if merging them with the kernel, or having them as their own package is the way to go.

    Kernel compiled, packaged, installed, and is now running on my pyra. So I guess the basics work.

  • Sweet! Ok I’ll take a look at these extra modifications. SGX should probably stay out of tree because that’s how it’s typically handled on TI builds. I’ll investigate.

  • Nick Elsmore added 1 commit

    added 1 commit

    • 6f43a750 - configs: letux_pyra_defconfig: Enable Pyra specific options

    Compare with previous version

  • @atc Ok, I've updated the LOCALVERSION.

    I don't know either if that's the best way to build the deb, but if it works lets stick with it for now.

    Note: In external conversation, SGX is not properly working. We should get this working before merging. Can you describe the build process?

    Edited by Nick Elsmore
  • Nick Elsmore added 1 commit

    added 1 commit

    Compare with previous version

  • Nick Elsmore unmarked as a Work In Progress

    unmarked as a Work In Progress

  • merged

  • Nick Elsmore changed the description

    changed the description

Please register or sign in to reply
Loading