FORUMS
Remove All Ads from XDA
Honor 7x
Win an Honor 7X!

Build kernel from source and boot to Ubuntu using L4T (Linux for Tegra) rootfs

392 posts
Thanks Meter: 87
 
By yahoo2016, Senior Member on 19th December 2015, 09:47 PM
Post Reply Email Thread
6th June 2017, 05:10 PM |#521  
Junior Member
Thanks Meter: 1
 
More
I've been running ubuntu off an SDcard on the 2017 SATV 16gb model but would like to move to the local emmc drive. The user partition appears to be mmcblk0p33 (is this correct?) and if so I don't think there is an image file provided that will run the OS off this partition (assuming this is the route to running Ubuntu natively). Is there a resource where I can find a built image file for this partition, or will I have to make one (i've never made one before so I'm not sure what I would be getting myself into)?
 
 
7th June 2017, 01:30 AM |#522  
OP Senior Member
Thanks Meter: 87
 
More
Quote:
Originally Posted by ithuestad

I've been running ubuntu off an SDcard on the 2017 SATV 16gb model but would like to move to the local emmc drive. The user partition appears to be mmcblk0p33 (is this correct?) and if so I don't think there is an image file provided that will run the OS off this partition (assuming this is the route to running Ubuntu natively). Is there a resource where I can find a built image file for this partition, or will I have to make one (i've never made one before so I'm not sure what I would be getting myself into)?

I can make an image for mmcblk0p33 tomorrow.
The Following User Says Thank You to yahoo2016 For This Useful Post: [ View ] Gift yahoo2016 Ad-Free
7th June 2017, 11:32 PM |#523  
OP Senior Member
Thanks Meter: 87
 
More
Quote:
Originally Posted by ithuestad

I've been running ubuntu off an SDcard on the 2017 SATV 16gb model but would like to move to the local emmc drive. The user partition appears to be mmcblk0p33 (is this correct?) and if so I don't think there is an image file provided that will run the OS off this partition (assuming this is the route to running Ubuntu natively). Is there a resource where I can find a built image file for this partition, or will I have to make one (i've never made one before so I'm not sure what I would be getting myself into)?

mmcblk0p33.img can be download from here:
https://drive.google.com/file/d/0Bz5...ew?usp=sharing

Please try it use "sudo fastboot boot mmcblk0p33.img"
The Following User Says Thank You to yahoo2016 For This Useful Post: [ View ] Gift yahoo2016 Ad-Free
27th June 2017, 03:54 PM |#524  
Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by ithuestad

I've been running ubuntu off an SDcard on the 2017 SATV 16gb model but would like to move to the local emmc drive. The user partition appears to be mmcblk0p33 (is this correct?) and if so I don't think there is an image file provided that will run the OS off this partition (assuming this is the route to running Ubuntu natively). Is there a resource where I can find a built image file for this partition, or will I have to make one (i've never made one before so I'm not sure what I would be getting myself into)?

Could explain how did you achieved to boot off an SD Card please ?
I'm also trying to flash L4T on eMMC but I'm wondering how ? Did you successed ?
29th June 2017, 06:00 PM |#525  
Junior Member
Thanks Meter: 1
 
More
Quote:
Originally Posted by yahoo2016

mmcblk0p33.img can be download from here:
https://drive.google.com/file/d/0Bz5...ew?usp=sharing

Please try it use "sudo fastboot boot mmcblk0p33.img"

Thank You. It took me a while, but I could only get the image to properly work for L4T 24.2.0
L4T 24.2.1 worked initially, but wouldn't boot after update/upgrade.
I now have a gen 2 shield booting into ubuntu successfully and running code.
thanks again.

---------- Post added at 12:00 PM ---------- Previous post was at 11:48 AM ----------

Quote:
Originally Posted by xkrys

Could explain how did you achieved to boot off an SD Card please ?
I'm also trying to flash L4T on eMMC but I'm wondering how ? Did you succeed ?

Hi, there are some great resources in this thread that go through unlocking the bootloader for the shield, using ADB/fastboot, and preparing the L4T sdcard. If you're just getting started I would suggest looking into unlocking the bootloader first. The instructions up to step 3 part 6 in the link ( http://nvidiashieldzone.com/shield-a...7-16gb-nougat/ ) helped me out immensly before I discovered this forum.
The Following User Says Thank You to ithuestad For This Useful Post: [ View ] Gift ithuestad Ad-Free
18th July 2017, 07:07 PM |#526  
Junior Member
Thanks Meter: 1
 
More
mmcblk0p29.img" is for booting to rootfs on partition 29
Hi,

The first page says: "mmcblk0p29.img" is for booting to rootfs on partition 29 (User Data) of internal eMMC of 16GB SATV if only Ubuntu is needed.

What does it mean "if only Ubuntu is needed"?

Can all the other 32 partitions be deleted?

Has the mmcblk0p33.img image made for R24.2.1?

Does the image need to be made for each Linux for Tegra version and why?

What change need to be made for each new version?

Also please note that the user data partition on the shield TV 2017 is mmcblk0p33.img.

Thanks.
19th July 2017, 12:32 PM |#527  
OP Senior Member
Thanks Meter: 87
 
More
Quote:
Originally Posted by chtulu

Hi,

The first page says: "mmcblk0p29.img" is for booting to rootfs on partition 29 (User Data) of internal eMMC of 16GB SATV if only Ubuntu is needed.

(1). What does it mean "if only Ubuntu is needed"?

(2). Can all the other 32 partitions be deleted?

(3). Has the mmcblk0p33.img image made for R24.2.1?

(4). Does the image need to be made for each Linux for Tegra version and why?

(5). What change need to be made for each new version?

Also please note that the user data partition on the shield TV 2017 is mmcblk0p33.img.

Thanks.

(1). If "User Data" partition is overwritten, you won't be able to use Android.
(2). Other partitions are small, SATV can be bricked if some other partitions are deleted.
(3). https://forum.xda-developers.com/sho...&postcount=523.
(4). Versions of L4T rootfs must match kernel Image.
(5). To use L4T for SATV, kernel configuration file need to be changed to build kernel for SATV.
19th July 2017, 04:48 PM |#528  
Junior Member
Thanks Meter: 1
 
More
Quote:
Originally Posted by yahoo2016

(1). If "User Data" partition is overwritten, you won't be able to use Android.
(2). Other partitions are small, SATV can be bricked if some other partitions are deleted.
(3). https://forum.xda-developers.com/sho...&postcount=523.
(4). Versions of L4T rootfs must match kernel Image.
(5). To use L4T for SATV, kernel configuration file need to be changed to build kernel for SATV.

Hi,

Thank you very much indeed. So, as far as I understood, the mmcblk0p33.img image, contains the drivers and L4T FileSystem. Is that correct?

Is there any way to just use the eMMC for Linux? 16GB is not much and I would need as much space as possible.

Thanks
20th July 2017, 12:34 PM |#529  
OP Senior Member
Thanks Meter: 87
 
More
Quote:
Originally Posted by chtulu

Hi,

Thank you very much indeed. So, as far as I understood, the mmcblk0p33.img image, contains the drivers and L4T FileSystem. Is that correct?

Is there any way to just use the eMMC for Linux? 16GB is not much and I would need as much space as possible.

Thanks

All images are kernel only which will boot to rootfs on different devices/partitions.
You need to download L4T rootfs from Nvidia and copy it to different devices/partitions as mentioned in the 1st post.
The User Data partition of 16GB SATV is at least 12GB. If 12GB is not enough, you'd need to use external storage such as SD card/USB drive.
I recommend use SATV Pro for Linux development.
26th July 2017, 07:25 AM |#530  
Junior Member
Thanks Meter: 0
 
More
New 28.1 L4T includes a 4.4 kernel. Taking a crack at building kernel from source to boot.
27th July 2017, 12:52 AM |#531  
LM209's Avatar
Senior Member
Flag In Germany!
Thanks Meter: 12
 
More
Hello, does anyone have maybe an image for the Shield 2015 16Gb variant and how to do the correct flash on the memory?
Would be very nice
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes