I would like to know how to wipe the jetson tx2 internal eMMC.
flashing an image that just calls shred
or uses dd
at startup won’t succeed since the kernel & those utilities won’t be loaded entirely into the RAM & requires the kernel to fetch some pages from the eMMC, at some point that won’t possible since those pages would be already wiped…
So I’ve thought that booting from uart could solve this “catch-22”-like paradox.
That being said - I would like to boot my jetson tx2 from uart in a way which resembles the way beaglebone black boot from uart.
Can it be done? and if so, how can I do it?
If the jetson would uart boot with a small initrd image I could use shred
& dd
since they will be in the RAM, or alternatively perform a network boot from the u-boot & the kernel in order to boot an image with shred
or dd
which isn’t stored in the eMMC
Beaglebone black’s BootRom can load a bootloader (called x-loader) to the RAM via uart.
Afterwards the x-loader can load u-boot into the RAM via kermit (over the same uart) and then there’s u-boot.
u-boot can load the linux kernel with tftp & the kernel loads the rootfs over nfs .
thanks in advance,
linus