U Boot On Tegra Soc

12 Feb 2023 - Nvidia Tegra

As mentioned in the previous post, Nexus 7 2012 grouper/tilapia is equipped with ULP Geforce GPU, of PC/Laptop, which is a power-saving SoC series. So the mainline kernel developers have been trying to get linux to run on the 2012 Nexus 7 as a tablet. After the entire Nvidia source code for the Tegra SoC and the new GPU was made public by the LapsusS team.

The developers who have developed the Tegra GPT compression tool is re-crypt, keeping the bootloader intact for the device not to be bricked, and there is space on the bootloader partition to install more U-boot for Tegra GPT purposes on Nexus 7 using GNU/Linux with mainline kernel, you can compile the new kernel and install it on the device boot partition

U-boot on Tegra devices
U-boot on Tegra devices

The first thing to do is to find the bct.bin and sbk of each Nexus 7 2012 using the reference tools below.

To dump bct.bin and sbk of Nexus 7 2012, then enter sbk into $key in grouper’s re-crypt script to re-part all Tegra GPT on the device, and use nvflash or fuse_gee to install U-boot into the bootloader. How to build U-Boot on Tegra has no specific instructions, can only refer to build of imx6 or imx7 on NXP forums

...

# git clone https://github.com/clamor-s/u-boot/

# export CROSS_COMPILE=arm-none-eabi-

# make transformer_t30_defconfig grouper_E1565.config ← new version rev.E1565

or:

# make transformer_t30_defconfig grouper_PM269.config ← old version rev.PM269

or:

# make transformer_t30_defconfig tilapia.config

# make

...

How to check variant rev.E1565 or rev.PM269

Variants

grouper rev. PM269 - without GSM (oldest)

grouper rev. E1565 - without GSM (modern revision)

tilapia rev. E1565 - with GSM

Do I have grouper or tilapia?

...

TWRP (adb shell) $ grep androidboot.baseband=unknown /proc/cmdline && echo grouper || echo tilapia

Which hardware revision of grouper do I have?

TWRP (adb shell) $ find /sys/devices/ | grep -c max776 && echo You have E1565

TWRP (adb shell) $ find /sys/devices/ | grep -c tps6591 && echo You have PM269

...

 

Recent Posts:

Fosdem 2023

05 Feb 2023 - linuxmobile

This event could view online at this link. They... more

I finished barebone static blog from Jekyll documents and... more

This is hard part about Tegra 3 T30L, which I... more

This post, I share my experiences from I/O and CPU... more

I wrote some lk2nd experiences at previous post. Xiaomi Redmi... more

How the system booting!? Let’s start, since Google created compatible... more

This is the first SoC on ARM. Nvidia made ULP... more

When I wanna push source code to git, I saw... more

When I was online, I saw some github.io website. I’ve... more

 
More articles