• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[Kernel] Shield Tablet Kernel Development [Incl. Guide]

Should the Shield Tablet be overclocked?


  • Total voters
    184
Search This thread
Welcome to the first custom kernel for the Shield Tablet.​

This thread is for the development and building of the Shield Tablet kernel.
This is not intended to download a build, post issues, and return when fixed.

Building a stock kernel from Nvidia source
Nvidia kernel repo:
git://nv-tegra.nvidia.com/linux-3.10
Branch:
Lollipop - rel-st8-l-r1-shieldtablet8

Build without using the "out" folder (in-tree compilation):
https://github.com/StarKissed/stark...mmit/85445990a87424c6a84ba774c51b04a71d5a21bc

Compile the kernel (without fixing the DTB misnomer):
Code:
make -j[Number of Jobs] clean CROSS_COMPILE=[Local Toolchain]
make tegra12_android_defconfig -j[Number of Jobs] ARCH=arm CROSS_COMPILE=[Local Toolchain]
make tegra124-tn8-p1761-1270-a04-e-battery.dtb -j[Number of Jobs] ARCH=arm CROSS_COMPILE=[Local Toolchain]
make -j[Number of Jobs] ARCH=arm CROSS_COMPILE=[Local Toolchain]
cat arch/arm/boot/zImage arch/arm/boot/dts/tegra124-tn8-p1761-1270-a04-e-battery.dtb > arch/arm/boot/zImage_dtb
The kernel will then be arch/arm/boot/zImage_dtb


XDA:DevDB Information
Shield Tablet Kernel Development [Incl. Guide], Kernel for the Nvidia Shield Tablet

Contributors
twistedumbrella
Kernel Special Features:

Version Information
Status: Testing

Created 2014-11-24
Last Updated 2015-01-24
 
Last edited:
Kernel Source:
https://github.com/StarKissed/starkissed-kernel-ardbeg

Kernel / Recovery Downloads:
https://goo.im/devs/playground/shieldtablet

Requests should be made in the Q&A thread.

Versions for wx_na_wf, wx_na_do, and wx_un_do included

Available Features in "Titania" Kernel:


Linux updates and patches
Optional overclocking
Intermediate GPU steps
ALSA codec updates
Powersuspend
Intelli-plug
Single-setting CPU configuration
Advanced TCP avoidance
Dynamic FSync
add'l entropy: frandom, erandom (enabled via init.d)
add'l filesystems: CIFS
io: sio, zen, vr, bfq, fiops
gov: yankeractive, lionheart, dancedance, smartmax, umbrella_core


App & Donations:
StarKissed [SKU] on Google Play allows you to configure many of the options provided by this kernel. Issues or comments about the app can be posted at the XDA StarKissed app thread
Donations are not being collected through the forum. If you would like to donate, you may do so through StarKissed [SKU] on Google Play by using the donate options located in the top right (the green dollar bill guy).

Warning: I only have the WiFi version of the Nvidia Shield tablet
 
Last edited:
can't wait for custom kernel


Well the bad news is I have yet to get it to build independent of the full source without boot looping. There is no reasonable explanation for needing the full source, though.
The issue with that is it makes each build a 45 minute process even with an i7 and 16GB DDR3. A kernel takes about 3-5. That doesn't include having to sync the entire source. It's a bit too tedious as is.

Speaking of the source, the default link on the Nvidia development site will lead you to http://nv-tegra.nvidia.com/gitweb/?...a=blob_plain;f=README;hb=rel-st8-r2.5-partner but if you want the lollipop source before they update the official links, some sneaky digging on the Nvidia gitweb will lead you to http://nv-tegra.nvidia.com/gitweb/?...a=blob_plain;f=README;hb=rel-st8-l-r1-partner
 
Last edited:

Daniel.n09

New member
Nov 26, 2014
3
0
New kernal features

Good to see someone putting in some work to this, VERY APPRECIATED!
I was just wondering; when your finished will it give us access to the dialler to be able to standard voice call with a sim card? Not like the "hangouts" dialler and others like it that use i different number and data to make the calls...
 
Good to see someone putting in some work to this, VERY APPRECIATED!
I was just wondering; when your finished will it give us access to the dialler to be able to standard voice call with a sim card? Not like the "hangouts" dialler and others like it that use i different number and data to make the calls...
I doubt it. That would require a lot of firmware modding outside the kernel
thanks this is realy a bad news :(
still hoping for a god kernel and easyer ways to get one
Me, too
 

Iams1002

Member
Mar 19, 2013
48
4
Managua
Kitkat kernel would be better...

I think a kitkat kernel would be better than a lollipop one, because as a new firmware its more complicated to work so every development is in early stage. I changed back to kitkat becase of the lack of freedom and the incompatibility of Xposed Framework. So i guess having a better kernel in lollipop would not be very useful without the capability of using the tweaks we love to take the full advantage of our devices. Thats just my humble opinion. :)
 
I think a kitkat kernel would be better than a lollipop one, because as a new firmware its more complicated to work so every development is in early stage. I changed back to kitkat becase of the lack of freedom and the incompatibility of Xposed Framework. So i guess having a better kernel in lollipop would not be very useful without the capability of using the tweaks we love to take the full advantage of our devices. Thats just my humble opinion. :)

And that is why the OP starts off with:
This thread is for the development and building of the Shield Tablet kernel.
This is not intended to provide a place to download the kernel and post issues.

The kitkat kernel source is there and the build commands are identical. Go for it.
 

awiden

New member
Jul 12, 2010
3
0
Hi

Friendly info sharing. The device-tree you want to build for the Shield Tablet (Wifi) is tegra124-tn8-p1761-1270-a04-e-battery.dts. Ardbeg although very similiar is an evaluation-board. The defconfig for the T124 (K1) is the tegra12_android_defconfig, but it seems you've updated that in your github. For faster rebuilds you might wanna check out the vendor-command "krebuild" that Nvidia-added. Or it could be your DTB-file that was causing boot-loops?
 
Hi



Friendly info sharing. The device-tree you want to build for the Shield Tablet (Wifi) is tegra124-tn8-p1761-1270-a04-e-battery.dts. Ardbeg although very similiar is an evaluation-board. The defconfig for the T124 (K1) is the tegra12_android_defconfig, but it seems you've updated that in your github. For faster rebuilds you might wanna check out the vendor-command "krebuild" that Nvidia-added. Or it could be your DTB-file that was causing boot-loops?


Actually, when you make the DTB, it pulls both the tn8 and ardbeg DTS files together. The one you quoted is only the battery. Each one in the line is only a part of the full DTB.
The bootloop is the SecureOS configuration that appears to be part of the full build.

Code:
==============Kernel DTS/DTB================
KERNEL_DT_NAME_DTB = tegra124-ardbeg-a03-00-battery.dtb tegra124-ardbeg-a03-00.dtb tegra124-ardbeg-battery.dtb tegra124-ardbeg-e1780-1000-a00-00.dtb tegra124-ardbeg-e1780-1000-a00-01.dtb tegra124-ardbeg-e1780-1000-a03-00-battery.dtb tegra124-ardbeg-e1780-1000-a03-00-powerconfig.dtb tegra124-ardbeg-e1780-1000-a03-00.dtb tegra124-ardbeg-e1780-1000-a03-01.dtb tegra124-ardbeg.dtb tegra124-ardbeg_sata.dtb tegra124-bonaire.dtb tegra124-bonaire_sim.dtb tegra124-e1782_sku1100.dtb tegra124-e1791.dtb tegra124-e1923.dtb tegra124-foster-p2530-0384-c00-00.dtb tegra124-foster.dtb tegra124-laguna-pm358.dtb tegra124-laguna.dtb tegra124-loki-02-cell-battery.dtb tegra124-loki-03-cell-battery.dtb tegra124-loki-e2530-a00.dtb tegra124-loki-e2530-a01.dtb tegra124-loki-e2530-a03.dtb tegra124-loki-e2548-a00.dtb tegra124-loki-mods.dtb tegra124-loki-p2530-0000-c00-00.dtb tegra124-loki-p2530-0001-a03-00.dtb tegra124-loki-p2530-0064-c00-00.dtb tegra124-loki-thor195-e2549-a00.dtb tegra124-loki.dtb tegra124-norrin-pm374-0001-c00.dtb tegra124-norrin-pm374-0001-c01.dtb tegra124-norrin.dtb tegra124-thor195.dtb tegra124-tn8-e1765-a03-battery.dtb tegra124-tn8-e1765-a03.dtb tegra124-tn8-e1780-1100-a02-01.dtb tegra124-tn8-e1780-1100-a02-battery.dtb tegra124-tn8-e1780-1100-a02.dtb tegra124-tn8-e1780-1100-a03-01-battery.dtb tegra124-tn8-e1780-1100-a03-01.dtb tegra124-tn8-e1780-1100-a03-battery.dtb tegra124-tn8-e1780-1100-a03.dtb tegra124-tn8-e1784-1100-a00.dtb tegra124-tn8-e1784-1101-a00-01-battery.dtb tegra124-tn8-e1784-1101-a00-battery.dtb tegra124-tn8-e1784-1101-a00.dtb tegra124-tn8-e1922-1100-a00.dtb tegra124-tn8-p1761-1270-a00-battery.dtb tegra124-tn8-p1761-1270-a00.dtb tegra124-tn8-p1761-1270-a02-battery.dtb tegra124-tn8-p1761-1270-a02.dtb tegra124-tn8-p1761-1270-a03-battery.dtb tegra124-tn8-p1761-1270-a03.dtb tegra124-tn8-p1761-1270-a04-e-battery.dtb tegra124-tn8-p1761-1270-a04-e-nobattery.dtb tegra124-tn8-p1761-1270-a04-e.dtb tegra124-tn8-p1761-1470-a00-battery.dtb tegra124-tn8-p1761-1470-a00.dtb tegra124-vcm30_t124.dtb
KERNEL_DTS_PATH = tegra124-ardbeg-a03-00-battery.dts tegra124-ardbeg-a03-00.dts tegra124-ardbeg-battery.dts tegra124-ardbeg-e1780-1000-a00-00.dts tegra124-ardbeg-e1780-1000-a00-01.dts tegra124-ardbeg-e1780-1000-a03-00-battery.dts tegra124-ardbeg-e1780-1000-a03-00-powerconfig.dts tegra124-ardbeg-e1780-1000-a03-00.dts tegra124-ardbeg-e1780-1000-a03-01.dts tegra124-ardbeg.dts tegra124-ardbeg_sata.dts tegra124-bonaire.dts tegra124-bonaire_sim.dts tegra124-e1782_sku1100.dts tegra124-e1791.dts tegra124-e1923.dts tegra124-foster-p2530-0384-c00-00.dts tegra124-foster.dts tegra124-laguna-pm358.dts tegra124-laguna.dts tegra124-loki-02-cell-battery.dts tegra124-loki-03-cell-battery.dts tegra124-loki-e2530-a00.dts tegra124-loki-e2530-a01.dts tegra124-loki-e2530-a03.dts tegra124-loki-e2548-a00.dts tegra124-loki-mods.dts tegra124-loki-p2530-0000-c00-00.dts tegra124-loki-p2530-0001-a03-00.dts tegra124-loki-p2530-0064-c00-00.dts tegra124-loki-thor195-e2549-a00.dts tegra124-loki.dts tegra124-norrin-pm374-0001-c00.dts tegra124-norrin-pm374-0001-c01.dts tegra124-norrin.dts tegra124-thor195.dts tegra124-tn8-e1765-a03-battery.dts tegra124-tn8-e1765-a03.dts tegra124-tn8-e1780-1100-a02-01.dts tegra124-tn8-e1780-1100-a02-battery.dts tegra124-tn8-e1780-1100-a02.dts tegra124-tn8-e1780-1100-a03-01-battery.dts tegra124-tn8-e1780-1100-a03-01.dts tegra124-tn8-e1780-1100-a03-battery.dts tegra124-tn8-e1780-1100-a03.dts tegra124-tn8-e1784-1100-a00.dts tegra124-tn8-e1784-1101-a00-01-battery.dts tegra124-tn8-e1784-1101-a00-battery.dts tegra124-tn8-e1784-1101-a00.dts tegra124-tn8-e1922-1100-a00.dts tegra124-tn8-p1761-1270-a00-battery.dts tegra124-tn8-p1761-1270-a00.dts tegra124-tn8-p1761-1270-a02-battery.dts tegra124-tn8-p1761-1270-a02.dts tegra124-tn8-p1761-1270-a03-battery.dts tegra124-tn8-p1761-1270-a03.dts tegra124-tn8-p1761-1270-a04-e-battery.dts tegra124-tn8-p1761-1270-a04-e-nobattery.dts tegra124-tn8-p1761-1270-a04-e.dts tegra124-tn8-p1761-1470-a00-battery.dts tegra124-tn8-p1761-1470-a00.dts tegra124-vcm30_t124.dts
BUILT_KERNEL_DTB = tegra124-ardbeg-a03-00-battery.dtb tegra124-ardbeg-a03-00.dtb tegra124-ardbeg-battery.dtb tegra124-ardbeg-e1780-1000-a00-00.dtb tegra124-ardbeg-e1780-1000-a00-01.dtb tegra124-ardbeg-e1780-1000-a03-00-battery.dtb tegra124-ardbeg-e1780-1000-a03-00-powerconfig.dtb tegra124-ardbeg-e1780-1000-a03-00.dtb tegra124-ardbeg-e1780-1000-a03-01.dtb tegra124-ardbeg.dtb tegra124-ardbeg_sata.dtb tegra124-bonaire.dtb tegra124-bonaire_sim.dtb tegra124-e1782_sku1100.dtb tegra124-e1791.dtb tegra124-e1923.dtb tegra124-foster-p2530-0384-c00-00.dtb tegra124-foster.dtb tegra124-laguna-pm358.dtb tegra124-laguna.dtb tegra124-loki-02-cell-battery.dtb tegra124-loki-03-cell-battery.dtb tegra124-loki-e2530-a00.dtb tegra124-loki-e2530-a01.dtb tegra124-loki-e2530-a03.dtb tegra124-loki-e2548-a00.dtb tegra124-loki-mods.dtb tegra124-loki-p2530-0000-c00-00.dtb tegra124-loki-p2530-0001-a03-00.dtb tegra124-loki-p2530-0064-c00-00.dtb tegra124-loki-thor195-e2549-a00.dtb tegra124-loki.dtb tegra124-norrin-pm374-0001-c00.dtb tegra124-norrin-pm374-0001-c01.dtb tegra124-norrin.dtb tegra124-thor195.dtb tegra124-tn8-e1765-a03-battery.dtb tegra124-tn8-e1765-a03.dtb tegra124-tn8-e1780-1100-a02-01.dtb tegra124-tn8-e1780-1100-a02-battery.dtb tegra124-tn8-e1780-1100-a02.dtb tegra124-tn8-e1780-1100-a03-01-battery.dtb tegra124-tn8-e1780-1100-a03-01.dtb tegra124-tn8-e1780-1100-a03-battery.dtb tegra124-tn8-e1780-1100-a03.dtb tegra124-tn8-e1784-1100-a00.dtb tegra124-tn8-e1784-1101-a00-01-battery.dtb tegra124-tn8-e1784-1101-a00-battery.dtb tegra124-tn8-e1784-1101-a00.dtb tegra124-tn8-e1922-1100-a00.dtb tegra124-tn8-p1761-1270-a00-battery.dtb tegra124-tn8-p1761-1270-a00.dtb tegra124-tn8-p1761-1270-a02-battery.dtb tegra124-tn8-p1761-1270-a02.dtb tegra124-tn8-p1761-1270-a03-battery.dtb tegra124-tn8-p1761-1270-a03.dtb tegra124-tn8-p1761-1270-a04-e-battery.dtb tegra124-tn8-p1761-1270-a04-e-nobattery.dtb tegra124-tn8-p1761-1270-a04-e.dtb tegra124-tn8-p1761-1470-a00-battery.dtb tegra124-tn8-p1761-1470-a00.dtb tegra124-vcm30_t124.dtb
INSTALLED_DTB_TARGET = tegra124-ardbeg-a03-00-battery.dtb tegra124-ardbeg-a03-00.dtb tegra124-ardbeg-battery.dtb tegra124-ardbeg-e1780-1000-a00-00.dtb tegra124-ardbeg-e1780-1000-a00-01.dtb tegra124-ardbeg-e1780-1000-a03-00-battery.dtb tegra124-ardbeg-e1780-1000-a03-00-powerconfig.dtb tegra124-ardbeg-e1780-1000-a03-00.dtb tegra124-ardbeg-e1780-1000-a03-01.dtb tegra124-ardbeg.dtb tegra124-ardbeg_sata.dtb tegra124-bonaire.dtb tegra124-bonaire_sim.dtb tegra124-e1782_sku1100.dtb tegra124-e1791.dtb tegra124-e1923.dtb tegra124-foster-p2530-0384-c00-00.dtb tegra124-foster.dtb tegra124-laguna-pm358.dtb tegra124-laguna.dtb tegra124-loki-02-cell-battery.dtb tegra124-loki-03-cell-battery.dtb tegra124-loki-e2530-a00.dtb tegra124-loki-e2530-a01.dtb tegra124-loki-e2530-a03.dtb tegra124-loki-e2548-a00.dtb tegra124-loki-mods.dtb tegra124-loki-p2530-0000-c00-00.dtb tegra124-loki-p2530-0001-a03-00.dtb tegra124-loki-p2530-0064-c00-00.dtb tegra124-loki-thor195-e2549-a00.dtb tegra124-loki.dtb tegra124-norrin-pm374-0001-c00.dtb tegra124-norrin-pm374-0001-c01.dtb tegra124-norrin.dtb tegra124-thor195.dtb tegra124-tn8-e1765-a03-battery.dtb tegra124-tn8-e1765-a03.dtb tegra124-tn8-e1780-1100-a02-01.dtb tegra124-tn8-e1780-1100-a02-battery.dtb tegra124-tn8-e1780-1100-a02.dtb tegra124-tn8-e1780-1100-a03-01-battery.dtb tegra124-tn8-e1780-1100-a03-01.dtb tegra124-tn8-e1780-1100-a03-battery.dtb tegra124-tn8-e1780-1100-a03.dtb tegra124-tn8-e1784-1100-a00.dtb tegra124-tn8-e1784-1101-a00-01-battery.dtb tegra124-tn8-e1784-1101-a00-battery.dtb tegra124-tn8-e1784-1101-a00.dtb tegra124-tn8-e1922-1100-a00.dtb tegra124-tn8-p1761-1270-a00-battery.dtb tegra124-tn8-p1761-1270-a00.dtb tegra124-tn8-p1761-1270-a02-battery.dtb tegra124-tn8-p1761-1270-a02.dtb tegra124-tn8-p1761-1270-a03-battery.dtb tegra124-tn8-p1761-1270-a03.dtb tegra124-tn8-p1761-1270-a04-e-battery.dtb tegra124-tn8-p1761-1270-a04-e-nobattery.dtb tegra124-tn8-p1761-1270-a04-e.dtb tegra124-tn8-p1761-1470-a00-battery.dtb tegra124-tn8-p1761-1470-a00.dtb tegra124-vcm30_t124.dtb
============================================
Device tree build tegra124-ardbeg-a03-00-battery.dtb tegra124-ardbeg-a03-00.dtb tegra124-ardbeg-battery.dtb tegra124-ardbeg-e1780-1000-a00-00.dtb tegra124-ardbeg-e1780-1000-a00-01.dtb tegra124-ardbeg-e1780-1000-a03-00-battery.dtb tegra124-ardbeg-e1780-1000-a03-00-powerconfig.dtb tegra124-ardbeg-e1780-1000-a03-00.dtb tegra124-ardbeg-e1780-1000-a03-01.dtb tegra124-ardbeg.dtb tegra124-ardbeg_sata.dtb tegra124-bonaire.dtb tegra124-bonaire_sim.dtb tegra124-e1782_sku1100.dtb tegra124-e1791.dtb tegra124-e1923.dtb tegra124-foster-p2530-0384-c00-00.dtb tegra124-foster.dtb tegra124-laguna-pm358.dtb tegra124-laguna.dtb tegra124-loki-02-cell-battery.dtb tegra124-loki-03-cell-battery.dtb tegra124-loki-e2530-a00.dtb tegra124-loki-e2530-a01.dtb tegra124-loki-e2530-a03.dtb tegra124-loki-e2548-a00.dtb tegra124-loki-mods.dtb tegra124-loki-p2530-0000-c00-00.dtb tegra124-loki-p2530-0001-a03-00.dtb tegra124-loki-p2530-0064-c00-00.dtb tegra124-loki-thor195-e2549-a00.dtb tegra124-loki.dtb tegra124-norrin-pm374-0001-c00.dtb tegra124-norrin-pm374-0001-c01.dtb tegra124-norrin.dtb tegra124-thor195.dtb tegra124-tn8-e1765-a03-battery.dtb tegra124-tn8-e1765-a03.dtb tegra124-tn8-e1780-1100-a02-01.dtb tegra124-tn8-e1780-1100-a02-battery.dtb tegra124-tn8-e1780-1100-a02.dtb tegra124-tn8-e1780-1100-a03-01-battery.dtb tegra124-tn8-e1780-1100-a03-01.dtb tegra124-tn8-e1780-1100-a03-battery.dtb tegra124-tn8-e1780-1100-a03.dtb tegra124-tn8-e1784-1100-a00.dtb tegra124-tn8-e1784-1101-a00-01-battery.dtb tegra124-tn8-e1784-1101-a00-battery.dtb tegra124-tn8-e1784-1101-a00.dtb tegra124-tn8-e1922-1100-a00.dtb tegra124-tn8-p1761-1270-a00-battery.dtb tegra124-tn8-p1761-1270-a00.dtb tegra124-tn8-p1761-1270-a02-battery.dtb tegra124-tn8-p1761-1270-a02.dtb tegra124-tn8-p1761-1270-a03-battery.dtb tegra124-tn8-p1761-1270-a03.dtb tegra124-tn8-p1761-1270-a04-e-battery.dtb tegra124-tn8-p1761-1270-a04-e-nobattery.dtb tegra124-tn8-p1761-1270-a04-e.dtb tegra124-tn8-p1761-1470-a00-battery.dtb tegra124-tn8-p1761-1470-a00.dtb tegra124-vcm30_t124.dtb

That all comes together to form a single image, which is called tegra124-ardbeg.dtb
 
Last edited:

awiden

New member
Jul 12, 2010
3
0
I don't think that is correct, but I could be mistaken.
Top level device-tree structure (this is not the battery, it's the configuration that includes a battery). Dts and dtsi-files overrides each-others configurations when they are included.
tegra124-tn8-p1761-1270-a04-e-battery.dts
Includes:
tegra124-tn8-p1761-1270-a04-e-nobattery.dts
Includes:
#include "tegra124-tn8.dtsi"
#include "tegra124-platforms/tegra124-tn8-emc-p1761-1270-a00.dtsi"
#include "tegra124-platforms/tegra124-tn8-pmic-e1936-1000-a00.dtsi"
#include "tegra124-platforms/tegra124-tn8-sensor-p1761-1270-a03.dtsi"
#include "tegra124-platforms/tegra124-tn8-fixed-e1936-1000-a03.dtsi"
#include "tegra124-platforms/tegra124-tn8-pinmux-p1761-1470-a00.dtsi"
#include "tegra124-platforms/tegra124-tn8-gpio-p1761-1470-a00.dtsi"
#include "tegra124-platforms/tegra124-tn8-keys-p1761-1270-a03.dtsi"
#include "tegra124-platforms/tegra124-tn8-sysedp-p1761-1270-a02.dtsi"
#include "tegra124-platforms/tegra124-tn8-powermon-p1761-a02.dtsi"
#include "tegra124-platforms/tegra124-tn8-dfll-p1761-1270-a03.dtsi"

How do you mean that they are combined? Is there something I'm missing?
tegra124-ardbeg.dts is another device-tree-structure for another hardware.

The list you're showing are all the dtb-targets that are built, they are all Nvidias boards for the T124 SoC, one of which is the shield tablet (wifi). If I'm wrong please educate me, I just wanted to share some knowledge.



Actually, when you make the DTB, it pulls both the tn8 and ardbeg DTS files together. The one you quoted is only the battery. Each one in the line is only a part of the full DTB.
The bootloop is the SecureOS configuration that appears to be part of the full build.

Code:
==============Kernel DTS/DTB================
KERNEL_DT_NAME_DTB = tegra124-ardbeg-a03-00-battery.dtb tegra124-ardbeg-a03-00.dtb tegra124-ardbeg-battery.dtb tegra124-ardbeg-e1780-1000-a00-00.dtb tegra124-ardbeg-e1780-1000-a00-01.dtb tegra124-ardbeg-e1780-1000-a03-00-battery.dtb tegra124-ardbeg-e1780-1000-a03-00-powerconfig.dtb tegra124-ardbeg-e1780-1000-a03-00.dtb tegra124-ardbeg-e1780-1000-a03-01.dtb tegra124-ardbeg.dtb tegra124-ardbeg_sata.dtb tegra124-bonaire.dtb tegra124-bonaire_sim.dtb tegra124-e1782_sku1100.dtb tegra124-e1791.dtb tegra124-e1923.dtb tegra124-foster-p2530-0384-c00-00.dtb tegra124-foster.dtb tegra124-laguna-pm358.dtb tegra124-laguna.dtb tegra124-loki-02-cell-battery.dtb tegra124-loki-03-cell-battery.dtb tegra124-loki-e2530-a00.dtb tegra124-loki-e2530-a01.dtb tegra124-loki-e2530-a03.dtb tegra124-loki-e2548-a00.dtb tegra124-loki-mods.dtb tegra124-loki-p2530-0000-c00-00.dtb tegra124-loki-p2530-0001-a03-00.dtb tegra124-loki-p2530-0064-c00-00.dtb tegra124-loki-thor195-e2549-a00.dtb tegra124-loki.dtb tegra124-norrin-pm374-0001-c00.dtb tegra124-norrin-pm374-0001-c01.dtb tegra124-norrin.dtb tegra124-thor195.dtb tegra124-tn8-e1765-a03-battery.dtb tegra124-tn8-e1765-a03.dtb tegra124-tn8-e1780-1100-a02-01.dtb tegra124-tn8-e1780-1100-a02-battery.dtb tegra124-tn8-e1780-1100-a02.dtb tegra124-tn8-e1780-1100-a03-01-battery.dtb tegra124-tn8-e1780-1100-a03-01.dtb tegra124-tn8-e1780-1100-a03-battery.dtb tegra124-tn8-e1780-1100-a03.dtb tegra124-tn8-e1784-1100-a00.dtb tegra124-tn8-e1784-1101-a00-01-battery.dtb tegra124-tn8-e1784-1101-a00-battery.dtb tegra124-tn8-e1784-1101-a00.dtb tegra124-tn8-e1922-1100-a00.dtb tegra124-tn8-p1761-1270-a00-battery.dtb tegra124-tn8-p1761-1270-a00.dtb tegra124-tn8-p1761-1270-a02-battery.dtb tegra124-tn8-p1761-1270-a02.dtb tegra124-tn8-p1761-1270-a03-battery.dtb tegra124-tn8-p1761-1270-a03.dtb tegra124-tn8-p1761-1270-a04-e-battery.dtb tegra124-tn8-p1761-1270-a04-e-nobattery.dtb tegra124-tn8-p1761-1270-a04-e.dtb tegra124-tn8-p1761-1470-a00-battery.dtb tegra124-tn8-p1761-1470-a00.dtb tegra124-vcm30_t124.dtb
KERNEL_DTS_PATH = tegra124-ardbeg-a03-00-battery.dts tegra124-ardbeg-a03-00.dts tegra124-ardbeg-battery.dts tegra124-ardbeg-e1780-1000-a00-00.dts tegra124-ardbeg-e1780-1000-a00-01.dts tegra124-ardbeg-e1780-1000-a03-00-battery.dts tegra124-ardbeg-e1780-1000-a03-00-powerconfig.dts tegra124-ardbeg-e1780-1000-a03-00.dts tegra124-ardbeg-e1780-1000-a03-01.dts tegra124-ardbeg.dts tegra124-ardbeg_sata.dts tegra124-bonaire.dts tegra124-bonaire_sim.dts tegra124-e1782_sku1100.dts tegra124-e1791.dts tegra124-e1923.dts tegra124-foster-p2530-0384-c00-00.dts tegra124-foster.dts tegra124-laguna-pm358.dts tegra124-laguna.dts tegra124-loki-02-cell-battery.dts tegra124-loki-03-cell-battery.dts tegra124-loki-e2530-a00.dts tegra124-loki-e2530-a01.dts tegra124-loki-e2530-a03.dts tegra124-loki-e2548-a00.dts tegra124-loki-mods.dts tegra124-loki-p2530-0000-c00-00.dts tegra124-loki-p2530-0001-a03-00.dts tegra124-loki-p2530-0064-c00-00.dts tegra124-loki-thor195-e2549-a00.dts tegra124-loki.dts tegra124-norrin-pm374-0001-c00.dts tegra124-norrin-pm374-0001-c01.dts tegra124-norrin.dts tegra124-thor195.dts tegra124-tn8-e1765-a03-battery.dts tegra124-tn8-e1765-a03.dts tegra124-tn8-e1780-1100-a02-01.dts tegra124-tn8-e1780-1100-a02-battery.dts tegra124-tn8-e1780-1100-a02.dts tegra124-tn8-e1780-1100-a03-01-battery.dts tegra124-tn8-e1780-1100-a03-01.dts tegra124-tn8-e1780-1100-a03-battery.dts tegra124-tn8-e1780-1100-a03.dts tegra124-tn8-e1784-1100-a00.dts tegra124-tn8-e1784-1101-a00-01-battery.dts tegra124-tn8-e1784-1101-a00-battery.dts tegra124-tn8-e1784-1101-a00.dts tegra124-tn8-e1922-1100-a00.dts tegra124-tn8-p1761-1270-a00-battery.dts tegra124-tn8-p1761-1270-a00.dts tegra124-tn8-p1761-1270-a02-battery.dts tegra124-tn8-p1761-1270-a02.dts tegra124-tn8-p1761-1270-a03-battery.dts tegra124-tn8-p1761-1270-a03.dts tegra124-tn8-p1761-1270-a04-e-battery.dts tegra124-tn8-p1761-1270-a04-e-nobattery.dts tegra124-tn8-p1761-1270-a04-e.dts tegra124-tn8-p1761-1470-a00-battery.dts tegra124-tn8-p1761-1470-a00.dts tegra124-vcm30_t124.dts
BUILT_KERNEL_DTB = tegra124-ardbeg-a03-00-battery.dtb tegra124-ardbeg-a03-00.dtb tegra124-ardbeg-battery.dtb tegra124-ardbeg-e1780-1000-a00-00.dtb tegra124-ardbeg-e1780-1000-a00-01.dtb tegra124-ardbeg-e1780-1000-a03-00-battery.dtb tegra124-ardbeg-e1780-1000-a03-00-powerconfig.dtb tegra124-ardbeg-e1780-1000-a03-00.dtb tegra124-ardbeg-e1780-1000-a03-01.dtb tegra124-ardbeg.dtb tegra124-ardbeg_sata.dtb tegra124-bonaire.dtb tegra124-bonaire_sim.dtb tegra124-e1782_sku1100.dtb tegra124-e1791.dtb tegra124-e1923.dtb tegra124-foster-p2530-0384-c00-00.dtb tegra124-foster.dtb tegra124-laguna-pm358.dtb tegra124-laguna.dtb tegra124-loki-02-cell-battery.dtb tegra124-loki-03-cell-battery.dtb tegra124-loki-e2530-a00.dtb tegra124-loki-e2530-a01.dtb tegra124-loki-e2530-a03.dtb tegra124-loki-e2548-a00.dtb tegra124-loki-mods.dtb tegra124-loki-p2530-0000-c00-00.dtb tegra124-loki-p2530-0001-a03-00.dtb tegra124-loki-p2530-0064-c00-00.dtb tegra124-loki-thor195-e2549-a00.dtb tegra124-loki.dtb tegra124-norrin-pm374-0001-c00.dtb tegra124-norrin-pm374-0001-c01.dtb tegra124-norrin.dtb tegra124-thor195.dtb tegra124-tn8-e1765-a03-battery.dtb tegra124-tn8-e1765-a03.dtb tegra124-tn8-e1780-1100-a02-01.dtb tegra124-tn8-e1780-1100-a02-battery.dtb tegra124-tn8-e1780-1100-a02.dtb tegra124-tn8-e1780-1100-a03-01-battery.dtb tegra124-tn8-e1780-1100-a03-01.dtb tegra124-tn8-e1780-1100-a03-battery.dtb tegra124-tn8-e1780-1100-a03.dtb tegra124-tn8-e1784-1100-a00.dtb tegra124-tn8-e1784-1101-a00-01-battery.dtb tegra124-tn8-e1784-1101-a00-battery.dtb tegra124-tn8-e1784-1101-a00.dtb tegra124-tn8-e1922-1100-a00.dtb tegra124-tn8-p1761-1270-a00-battery.dtb tegra124-tn8-p1761-1270-a00.dtb tegra124-tn8-p1761-1270-a02-battery.dtb tegra124-tn8-p1761-1270-a02.dtb tegra124-tn8-p1761-1270-a03-battery.dtb tegra124-tn8-p1761-1270-a03.dtb tegra124-tn8-p1761-1270-a04-e-battery.dtb tegra124-tn8-p1761-1270-a04-e-nobattery.dtb tegra124-tn8-p1761-1270-a04-e.dtb tegra124-tn8-p1761-1470-a00-battery.dtb tegra124-tn8-p1761-1470-a00.dtb tegra124-vcm30_t124.dtb
INSTALLED_DTB_TARGET = tegra124-ardbeg-a03-00-battery.dtb tegra124-ardbeg-a03-00.dtb tegra124-ardbeg-battery.dtb tegra124-ardbeg-e1780-1000-a00-00.dtb tegra124-ardbeg-e1780-1000-a00-01.dtb tegra124-ardbeg-e1780-1000-a03-00-battery.dtb tegra124-ardbeg-e1780-1000-a03-00-powerconfig.dtb tegra124-ardbeg-e1780-1000-a03-00.dtb tegra124-ardbeg-e1780-1000-a03-01.dtb tegra124-ardbeg.dtb tegra124-ardbeg_sata.dtb tegra124-bonaire.dtb tegra124-bonaire_sim.dtb tegra124-e1782_sku1100.dtb tegra124-e1791.dtb tegra124-e1923.dtb tegra124-foster-p2530-0384-c00-00.dtb tegra124-foster.dtb tegra124-laguna-pm358.dtb tegra124-laguna.dtb tegra124-loki-02-cell-battery.dtb tegra124-loki-03-cell-battery.dtb tegra124-loki-e2530-a00.dtb tegra124-loki-e2530-a01.dtb tegra124-loki-e2530-a03.dtb tegra124-loki-e2548-a00.dtb tegra124-loki-mods.dtb tegra124-loki-p2530-0000-c00-00.dtb tegra124-loki-p2530-0001-a03-00.dtb tegra124-loki-p2530-0064-c00-00.dtb tegra124-loki-thor195-e2549-a00.dtb tegra124-loki.dtb tegra124-norrin-pm374-0001-c00.dtb tegra124-norrin-pm374-0001-c01.dtb tegra124-norrin.dtb tegra124-thor195.dtb tegra124-tn8-e1765-a03-battery.dtb tegra124-tn8-e1765-a03.dtb tegra124-tn8-e1780-1100-a02-01.dtb tegra124-tn8-e1780-1100-a02-battery.dtb tegra124-tn8-e1780-1100-a02.dtb tegra124-tn8-e1780-1100-a03-01-battery.dtb tegra124-tn8-e1780-1100-a03-01.dtb tegra124-tn8-e1780-1100-a03-battery.dtb tegra124-tn8-e1780-1100-a03.dtb tegra124-tn8-e1784-1100-a00.dtb tegra124-tn8-e1784-1101-a00-01-battery.dtb tegra124-tn8-e1784-1101-a00-battery.dtb tegra124-tn8-e1784-1101-a00.dtb tegra124-tn8-e1922-1100-a00.dtb tegra124-tn8-p1761-1270-a00-battery.dtb tegra124-tn8-p1761-1270-a00.dtb tegra124-tn8-p1761-1270-a02-battery.dtb tegra124-tn8-p1761-1270-a02.dtb tegra124-tn8-p1761-1270-a03-battery.dtb tegra124-tn8-p1761-1270-a03.dtb tegra124-tn8-p1761-1270-a04-e-battery.dtb tegra124-tn8-p1761-1270-a04-e-nobattery.dtb tegra124-tn8-p1761-1270-a04-e.dtb tegra124-tn8-p1761-1470-a00-battery.dtb tegra124-tn8-p1761-1470-a00.dtb tegra124-vcm30_t124.dtb
============================================
Device tree build tegra124-ardbeg-a03-00-battery.dtb tegra124-ardbeg-a03-00.dtb tegra124-ardbeg-battery.dtb tegra124-ardbeg-e1780-1000-a00-00.dtb tegra124-ardbeg-e1780-1000-a00-01.dtb tegra124-ardbeg-e1780-1000-a03-00-battery.dtb tegra124-ardbeg-e1780-1000-a03-00-powerconfig.dtb tegra124-ardbeg-e1780-1000-a03-00.dtb tegra124-ardbeg-e1780-1000-a03-01.dtb tegra124-ardbeg.dtb tegra124-ardbeg_sata.dtb tegra124-bonaire.dtb tegra124-bonaire_sim.dtb tegra124-e1782_sku1100.dtb tegra124-e1791.dtb tegra124-e1923.dtb tegra124-foster-p2530-0384-c00-00.dtb tegra124-foster.dtb tegra124-laguna-pm358.dtb tegra124-laguna.dtb tegra124-loki-02-cell-battery.dtb tegra124-loki-03-cell-battery.dtb tegra124-loki-e2530-a00.dtb tegra124-loki-e2530-a01.dtb tegra124-loki-e2530-a03.dtb tegra124-loki-e2548-a00.dtb tegra124-loki-mods.dtb tegra124-loki-p2530-0000-c00-00.dtb tegra124-loki-p2530-0001-a03-00.dtb tegra124-loki-p2530-0064-c00-00.dtb tegra124-loki-thor195-e2549-a00.dtb tegra124-loki.dtb tegra124-norrin-pm374-0001-c00.dtb tegra124-norrin-pm374-0001-c01.dtb tegra124-norrin.dtb tegra124-thor195.dtb tegra124-tn8-e1765-a03-battery.dtb tegra124-tn8-e1765-a03.dtb tegra124-tn8-e1780-1100-a02-01.dtb tegra124-tn8-e1780-1100-a02-battery.dtb tegra124-tn8-e1780-1100-a02.dtb tegra124-tn8-e1780-1100-a03-01-battery.dtb tegra124-tn8-e1780-1100-a03-01.dtb tegra124-tn8-e1780-1100-a03-battery.dtb tegra124-tn8-e1780-1100-a03.dtb tegra124-tn8-e1784-1100-a00.dtb tegra124-tn8-e1784-1101-a00-01-battery.dtb tegra124-tn8-e1784-1101-a00-battery.dtb tegra124-tn8-e1784-1101-a00.dtb tegra124-tn8-e1922-1100-a00.dtb tegra124-tn8-p1761-1270-a00-battery.dtb tegra124-tn8-p1761-1270-a00.dtb tegra124-tn8-p1761-1270-a02-battery.dtb tegra124-tn8-p1761-1270-a02.dtb tegra124-tn8-p1761-1270-a03-battery.dtb tegra124-tn8-p1761-1270-a03.dtb tegra124-tn8-p1761-1270-a04-e-battery.dtb tegra124-tn8-p1761-1270-a04-e-nobattery.dtb tegra124-tn8-p1761-1270-a04-e.dtb tegra124-tn8-p1761-1470-a00-battery.dtb tegra124-tn8-p1761-1470-a00.dtb tegra124-vcm30_t124.dtb

That all comes together to form a single image, which is called tegra124-ardbeg.dtb
 
I don't think that is correct, but I could be mistaken.

Top level device-tree structure (this is not the battery, it's the configuration that includes a battery). Dts and dtsi-files overrides each-others configurations when they are included.

tegra124-tn8-p1761-1270-a04-e-battery.dts

Includes:

tegra124-tn8-p1761-1270-a04-e-nobattery.dts

Includes:

#include "tegra124-tn8.dtsi"

#include "tegra124-platforms/tegra124-tn8-emc-p1761-1270-a00.dtsi"

#include "tegra124-platforms/tegra124-tn8-pmic-e1936-1000-a00.dtsi"

#include "tegra124-platforms/tegra124-tn8-sensor-p1761-1270-a03.dtsi"

#include "tegra124-platforms/tegra124-tn8-fixed-e1936-1000-a03.dtsi"

#include "tegra124-platforms/tegra124-tn8-pinmux-p1761-1470-a00.dtsi"

#include "tegra124-platforms/tegra124-tn8-gpio-p1761-1470-a00.dtsi"

#include "tegra124-platforms/tegra124-tn8-keys-p1761-1270-a03.dtsi"

#include "tegra124-platforms/tegra124-tn8-sysedp-p1761-1270-a02.dtsi"

#include "tegra124-platforms/tegra124-tn8-powermon-p1761-a02.dtsi"

#include "tegra124-platforms/tegra124-tn8-dfll-p1761-1270-a03.dtsi"



How do you mean that they are combined? Is there something I'm missing?

tegra124-ardbeg.dts is another device-tree-structure for another hardware.



The list you're showing are all the dtb-targets that are built, they are all Nvidias boards for the T124 SoC, one of which is the shield tablet (wifi). If I'm wrong please educate me, I just wanted to share some knowledge.


I think you are focusing too much on the name and not on the file.

If you read:

Code:
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash userdata userdata.img
fastboot flash staging blob
fastboot flash dtb tegra124-tn8-p1761-1270-a04-e-battery.dtb

from https://developer.nvidia.com/sites/...eld/SHIELD_tab/HowTo-Flash-Recovery-Image.txt you are probably using that file name, which is the same file that is generated by the make command, only named tegra124-ardbeg in this build for simplicity, but it should be tegra124-tn8.dtb

For the sake of my sanity, I had it name the build output to the file name that Nvidia uses in their documentation. That is the easiest solution so everyone can be happy and there is no need to question if it is the right file or not.

The basic idea is that Nvidia has too many devices using the same files. Generalizing the names was meant to make it easier, not turn into a huge discussion questioning if I knew which device I was building. The device is partially the tn8 (tegra note 8), while ardbeg is the "Nvidia tablet development" codename for the hardware, even though neither is truly accurate.
 
Last edited:
How about I just start building versions that work? The links have been updated.
 

Attachments

  • Screenshot_2014-12-02-11-51-48.png
    Screenshot_2014-12-02-11-51-48.png
    54 KB · Views: 525
Last edited:
Nice to see you here

I too have been working on something

c45cf52087d514e07f8103d90139c94d.jpg

Alright, but keep in mind this thread is for transparent development, not any ninja release shenanigans.

The image I posted was only to show the most recent public version was actually working since the OP still listed the kernel as being stuck in a loop. It beats five posts asking if the kernel was working yet.

The Shield kernels don't need any OC or any of that stuff, so this is mainly about updating between the firmware releases. You're more than welcome to use it for whatever you are working on.
 

awiden

New member
Jul 12, 2010
3
0
Just wanted to share some stuff I've found when digging into the dts a while back. Saw that you posted a screenshot, nice. It's gonna be interesting to see what tweaks will be incorporated. Good luck.

I think you are focusing too much on the name and not on the file.

If you read:

Code:
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash userdata userdata.img
fastboot flash staging blob
fastboot flash dtb tegra124-tn8-p1761-1270-a04-e-battery.dtb

from you are probably using that file name, which is the same file that is generated by the make command, only named tegra124-ardbeg in this build for simplicity, but it should be tegra124-tn8.dtb

For the sake of my sanity, I had it name the build output to the file name that Nvidia uses in their documentation. That is the easiest solution so everyone can be happy and there is no need to question if it is the right file or not.

The basic idea is that Nvidia has too many devices using the same files. Generalizing the names was meant to make it easier, not turn into a huge discussion questioning if I knew which device I was building. The device is partially the tn8 (tegra note 8), while ardbeg is the "Nvidia tablet development" codename for the hardware, even though neither is truly accurate.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 22
    Welcome to the first custom kernel for the Shield Tablet.​

    This thread is for the development and building of the Shield Tablet kernel.
    This is not intended to download a build, post issues, and return when fixed.

    Building a stock kernel from Nvidia source
    Nvidia kernel repo:
    git://nv-tegra.nvidia.com/linux-3.10
    Branch:
    Lollipop - rel-st8-l-r1-shieldtablet8

    Build without using the "out" folder (in-tree compilation):
    https://github.com/StarKissed/stark...mmit/85445990a87424c6a84ba774c51b04a71d5a21bc

    Compile the kernel (without fixing the DTB misnomer):
    Code:
    make -j[Number of Jobs] clean CROSS_COMPILE=[Local Toolchain]
    make tegra12_android_defconfig -j[Number of Jobs] ARCH=arm CROSS_COMPILE=[Local Toolchain]
    make tegra124-tn8-p1761-1270-a04-e-battery.dtb -j[Number of Jobs] ARCH=arm CROSS_COMPILE=[Local Toolchain]
    make -j[Number of Jobs] ARCH=arm CROSS_COMPILE=[Local Toolchain]
    cat arch/arm/boot/zImage arch/arm/boot/dts/tegra124-tn8-p1761-1270-a04-e-battery.dtb > arch/arm/boot/zImage_dtb
    The kernel will then be arch/arm/boot/zImage_dtb


    XDA:DevDB Information
    Shield Tablet Kernel Development [Incl. Guide], Kernel for the Nvidia Shield Tablet

    Contributors
    twistedumbrella
    Kernel Special Features:

    Version Information
    Status: Testing

    Created 2014-11-24
    Last Updated 2015-01-24
    13
    Kernel Source:
    https://github.com/StarKissed/starkissed-kernel-ardbeg

    Kernel / Recovery Downloads:
    https://goo.im/devs/playground/shieldtablet

    Requests should be made in the Q&A thread.

    Versions for wx_na_wf, wx_na_do, and wx_un_do included

    Available Features in "Titania" Kernel:


    Linux updates and patches
    Optional overclocking
    Intermediate GPU steps
    ALSA codec updates
    Powersuspend
    Intelli-plug
    Single-setting CPU configuration
    Advanced TCP avoidance
    Dynamic FSync
    add'l entropy: frandom, erandom (enabled via init.d)
    add'l filesystems: CIFS
    io: sio, zen, vr, bfq, fiops
    gov: yankeractive, lionheart, dancedance, smartmax, umbrella_core


    App & Donations:
    StarKissed [SKU] on Google Play allows you to configure many of the options provided by this kernel. Issues or comments about the app can be posted at the XDA StarKissed app thread
    Donations are not being collected through the forum. If you would like to donate, you may do so through StarKissed [SKU] on Google Play by using the donate options located in the top right (the green dollar bill guy).

    Warning: I only have the WiFi version of the Nvidia Shield tablet
    8
    Added overclocking for the cpu, but it is disabled by default similar to the Nexus 9. Also added an intermediate step for GPU. The GPU is already significantly higher than the stock Nexus 9 builds where most have seen the OC. There were only two steps, though. It seems like the device was either min or max and that isn't so great when playing a game that doesn't require 900 but can't run at 700.

    I'll make a build as soon as I test it all out.
    7
    Alright, I think it is fairly safe to remove the warning. A few hours of testing in and nothing appears broken.
    New version is up and includes a massive rewrite of binder and some updates for SELinux.
    5
    Almost done porting virtually everything the Nexus 9 has, plus the upstream Android tegra kernel changes, then a cleanup, and shortly a build.

    Which should be available in the next half hour or so with CFQ, BFQ, intelliplug, a ton of stability updates, and some wireless tweaks.