Re: My first try installing
Lloyd Parkes <[email protected]>
| Newsgroups | gmane.os.netbsd.ports.arm |
|---|---|
| Message-ID | <ccb721632a63aae22f6ee9d986337766ac829f53.camel@must-have-coffee.gen.nz> |
On Fri, 2024-06-07 at 22:06 -0700, [email protected] wrote: > > If I boot my Jetson Nano with no SD Card in it then I eventually > > get > > a U-Boot 2020.04 banner, a "Hit any key to stop autoboot:" prompt > > and when the prompt times out it tries to boot from the > > ethernet. This is good because we need U-Boot to boot NetBSD. > > Does this mean the "extract uboot from pkgsrc" step is unnecessary? I have no idea. Since the Wiki page is for a different board, it might be entirely inappropriate. I described my board's behaviour because I can't remember if I have modified the onboard firmware or not. You will need to compare my board's behaviour with your board's behaviour. If you don't see U-Boot like I see U-Boot then you will need to install U-Boot firmware somehow. If I have modified the firmware on my board, it will have been by following Nvidia's instructions to install newer Nvidia firmware. > > I then copied the Nvidia Linux image to a µSD and mounted that card > > on a Linux laptop. I copied the file > > boot/kernel_tegra210-p3448-0000- p3449-0000-b00.dtb onto my > > laptop. ... > > I had not done this during my attempt because I assumed the needed > dtb > files were already in the u-boot image I extracted and dutifully > dd'ed > onto the beginning of the SD card. Was that a misconception? U-Boot has its own copy of the devicetree for various reasons. AFAICT U-Boot's "builtin" devicetree is usually loaded along with U-Boot by the boot ROM. U-Boot then loads NetBSD's devicetree just before/after it loads the NetBSD kernel. It turns out that the arm64 image I was using (downloaded from the NetBSD CDN) already had a devicetree file in it for the Jetson Nano. All of my testing was probably done with the NetBSD supplied devicetree because it has a different filename from the Linux one. I have no idea if the Linux and NetBSD devicetrees differ and it's something I'll look into.