Skip to content

Bootloader not initializing -- No EFI system partition #16

Description

@greggoryrussell

Hello,

I'm attempting to flash UBoot onto my Nexus 7 (2012 / Grouper). Ultimately, my goal is to flash PostMarketOS onto it. One of the requirements for that is to flash uboot onto it.

This is what I see on my Ubuntu laptop when I attempt to flash my u-boot image to the device

sudo ./run_bootloader.sh -s T30 -t ./bct/grouper.bct -b u-boot-dtb-tegra.bin

Important note: on desktop Linux systems, we currently require an XHCI host controller.
A good way to ensure you're likely using an XHCI backend is to plug your
device into a blue 'USB 3' port.

Identified a Linux system; setting up the appropriate backend.
Detected a T30 SoC
VendorID=0x955 & ProductID=0x7330
Found a Tegra with Device ID: 0bea1fa409215d01
Uploading payload...
Smashing the stack...
The USB device stopped responding-- sure smells like we've smashed its stack. :)
Launch complete!
Nvflash v1.13.87205 started
chip uid from BR is: 0x0000000000000000015d2109a41fea0b
rcm version 0X30001
System Information:
   chip name: unknown
   chip id: 0x30 major: 1 minor: 3
   chip sku: 0x83
   chip uid: 0x0000000000000000015d2109a41fea0b
   macrovision: disabled
   hdcp: enabled
   jtag: disabled
   sbk burned: true
   dk burned: true
   boot device: emmc
   operating mode: 3
   device config strap: 1
   device config fuse: 17
   sdram config strap: 0

sending file: ./bct/grouper.bct
- 6128/6128 bytes sent
./bct/grouper.bct sent successfully
downloading bootloader -- load address: 0x80108000 entry point: 0x80108000
sending file: u-boot-dtb-tegra.bin
/ 742197/742197 bytes sent
u-boot-dtb-tegra.bin sent successfully
waiting for bootloader to initialize
usb read error (71): Protocol error
bootloader failed NvError 0x0
command failure: bootloader download failed

Right before the usb read error happens, the tablet flashes the following text on screen before turning off. I had to take a picture of it with my phone to read it:

Net:    No ethernet found.

Autoboot in 0 seconds
No EFI system partition
No EFI system partition
Failed to persist EFI variables
Bus usb@7d000000: USB EHCI 1.00
scanning bus usb@7d000000 for devices... 1 USB Device(s) found
No ethernet found.
No ethernet found.
poweroff ...

Have you ran into this issue before? Do you have any advice on how to add and structure EFI partitions onto the tablet?

And I can also confirm that it seems to be fine at a hardware level. I've managed to do the following without issue:

  • Dumped the SBK
  • Flashed a newer version of TWRP from 2 to 3.7.0_9-0
  • Mounted the phone via MTP on Ubuntu and transfer files to and from
  • Flashed factory stock Android (which suggests to me that the EMMC is still good)
  • Replaced the battery with one found on Amazon as the old one wouldn't hold a charge

Any advice would be appreciated.

Thanks.

-Gregg

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions