You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to run Android with this kernel ?
I would like to run marshmallow from unlegacy android, but I would be glad with the lollipop stock rom also.
What is the requirement to make this work ? I can see that many of the options that are present in the kernels from these OS are not recognized here. For instance BCMDHD_FW_PATH will not be added to the final config.
What I was able to do so far is booting a zImage, using the configuration named tegra_defconfig. Packing it with a ramdisk from LP or MM will produce a kernel panic.
I'd like to find out the exact configuration that is needed to boot these systems, if possible.
Thanks in advance.
Android won't work out-of-the-box with this kernel. You'll need to port downstream drivers + Android specific patches. It is doable, but this is quite a lot of work.
BCMDHD is custom WiFi driver that is not present in upstream kernel. Brcmfmac is a generic driver that upstream uses.
For a working ramdisk you'll need to reduce zImage size by compiling most of the drivers as a loadable kernel modules. Ramdisk is getting clobbered if kernel is bigger than a certain size, it's a known issue of the upstream kernel that hasn't been resolved yet.
Thanks you for enlightening this.
When you say 'a proper linux', do you mean that you have a solution to run ubuntu or debian for instance ?
I would be more interested in working toward that.
Now that I think twice, I might finally read linux from scratch and make a proper system.
I need to do a ramdisk for the kernel, what about which part of the OS goes into the system partition and which one goes in userdata ?
Well supported system on Tegra 3 in postmarketOS, but generally when you compile kernel, you can run any distribution, just installation will be slightly harder (I'd like to see PureOS or Mobian running on these tables).
Activity
digetx commentedon Jun 3, 2020
Android won't work out-of-the-box with this kernel. You'll need to port downstream drivers + Android specific patches. It is doable, but this is quite a lot of work.
See https://github.com/digetx/picasso_upstream_support and https://github.com/digetx/picasso-kernel for an example. Note that it's for Tegra20, the Tegra30 bits may need some extra work. I switched away from Android to a proper Linux on Tegra devices few years ago, so those repos are a bit outdated in comparison to the latest kernel version. Sometime ago I was helping to port video driver to a newer kernel version and http://ftp.redsleeve.org/pub/tmp/004-tegra-downstream-video-driver.patch should contain some fixes needed for 4.8+ kernel.
BCMDHD is custom WiFi driver that is not present in upstream kernel. Brcmfmac is a generic driver that upstream uses.
For a working ramdisk you'll need to reduce zImage size by compiling most of the drivers as a loadable kernel modules. Ramdisk is getting clobbered if kernel is bigger than a certain size, it's a known issue of the upstream kernel that hasn't been resolved yet.
e2002e commentedon Jun 3, 2020
Thanks you for enlightening this.
When you say 'a proper linux', do you mean that you have a solution to run ubuntu or debian for instance ?
I would be more interested in working toward that.
Now that I think twice, I might finally read linux from scratch and make a proper system.
I need to do a ramdisk for the kernel, what about which part of the OS goes into the system partition and which one goes in userdata ?
okias commentedon Jun 4, 2020
Well supported system on Tegra 3 in postmarketOS, but generally when you compile kernel, you can run any distribution, just installation will be slightly harder (I'd like to see PureOS or Mobian running on these tables).
e2002e commentedon Jun 4, 2020
Much thanks for that, I was missing the bottom of the iceberg.
digetx commentedon Jun 4, 2020
In the case of Ubuntu or Debian you can download armhf rootfs, extract it to /data partition and then boot to it. Ubuntu works great on Nexus 7. Also see https://github.com/grate-driver/grate/wiki/Grate-driver.
kcsan: Restrict supported compilers
mptcp: fallback in case of simultaneous connect
Merge branch 'Add-ethtool-extended-link-state'
f2fs: fix an oops in f2fs_is_compressed_page
Merge branch 'sfc-prerequisites-for-EF100-driver-part-3'
Merge branch 'bnxt_en-Driver-update-for-net-next'
f2fs: should avoid inode eviction in synchronous path
Merge branch 'mlxsw-Add-support-for-buffer-drop-traps'
Merge series "regulator: fix deadlock vs memory reclaim" from Michał …
70 remaining items
btrfs: fix deadlock when defragging transparent huge pages
x86/xen: update xen_oldmem_pfn_is_ram() documentation
x86/xen: update xen_oldmem_pfn_is_ram() documentation
btrfs: fix deadlock when defragging transparent huge pages
x86/xen: update xen_oldmem_pfn_is_ram() documentation
bpf, tests: Add module parameter test_suite to test_bpf module
x86/xen: update xen_oldmem_pfn_is_ram() documentation
PCI: Do not enable AtomicOps on VFs
x86/xen: update xen_oldmem_pfn_is_ram() documentation
x86/xen: update xen_oldmem_pfn_is_ram() documentation
perf symbols: Factor out annotation init/exit
net, neigh: Fix crash in v6 module initialization error path
perf stat: Fix memory leak in check_per_pkg()
cifs: Support fscache indexing rewrite
[v2] ARM: sa1100/assabet: move dmabounce hack to ohci driver