So I've been able to flash u-boot to the spi flash
Easier than I thought, since nvidia seems to have a tool for that
What you need is a USB-A to USB-A cable and best would be a SOIC8 flash clip for recovery + something like a raspberry pi..
Make a backup of your current SPI flash with the flashrom tool
after that: some steps to follow:
$this->bbcode_second_pass_code('', 'mkdir work
cd work
curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > repo
chmod a+x repo
mkdir tegra-uboot-flasher
cd tegra-uboot-flasher
../repo init -u git://github.com/NVIDIA/tegra-uboot-flasher-manifests.git
../repo sync
cd u-boot
git checkout v2018.11
cd ../scripts
./build-tools
cp ../u-boot/configs/nyan-big_defconfig ../u-boot/configs/norrin_defconfig
nano ../u-boot/configs/norrin_defconfig
')
change the current CONFIG_SYS_TEXT_BASE entry to:
$this->bbcode_second_pass_code('', 'CONFIG_SYS_TEXT_BASE=0x80110000')
and also add, since without LPAE you are not getting any output on screen:
$this->bbcode_second_pass_code('', 'CONFIG_ARMV7_LPAE=y')
You might also want to add this for all 4GB to work properly:
$this->bbcode_second_pass_code('', 'CONFIG_PHYS_64BIT=y')
Compile and test it with:
$this->bbcode_second_pass_code('', 'CROSS_COMPILE=arm-none-eabi- ./build --boards norrin build
./tegra-uboot-flasher exec norrin')
after testing flash it if you want by running:
$this->bbcode_second_pass_code('', './tegra-uboot-flasher exec norrin')
Only problem at the moment is, that u-boot isn't displaying anything on the display..
EDIT: with "CONFIG_ARMV7_LPAE=y" we get output on the display
But it is booting up linux, if it was set up correctly from a u-boot, that was chainloaded to coreboot..
Does someone know if and where the serial console of the device is available?
I know, that if I had a servo board i could access it through that, but the tx and rx lines should also be available somewhere on the board..
Edit: added LPAE line..