[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Fresh Trixie install on VisionFive 2



On 2025-03-12 21:53, Aurelien Jarno wrote:
> Hi,
> 
> On 2025-03-10 12:13, Jakob Oestergaard Hegelund wrote:
> > 
> > Dear all,
> > 
> > Having used the StarFive provided debian image for a while on my
> > VisionFive 2, I wanted to forge ahead and install a "proper" Debian from
> > scratch using the Trixie installer.
> > 
> > (If this is the wrong list for this question please accept my apologies
> > in advance - it is my impression that this is very riscv specific
> > though)
> > 
> > What I ended up doing was getting the latest weekly Trixie netinst image
> > and writing that to an USB stick.
> > 
> > I then boot my VF2 into U-Boot (and have a serial console attached).
> > 
> > I start up the USB subsystem with "usb start"
> > 
> > I load the EFI image as well as the DTB and boot using EFI:
> > 
> > fatload usb 0:2 0x40200000 efi/boot/bootriscv64.efi
> > fatload usb 0:2 0x46000000 /dtb/starfive/jh7110-starfive-visionfive-2-v1.3b.dtb
> > bootefi 0x40200000 0x46000000
> 
> You should probably use ${kernel_addr_r} and ${fdt_addr_r} instead of
> hardcoded addresses, but that is very unlikely related to your issue.
> 
> The same way you can use dtb/${fdtfile} for the DTB file. Again that's
> not your issue, and it's probably better to write it like that for
> documentation purposes.

As a side note, at least with the u-boot version in the u-boot-starfive
package, it is possible to start d-i with the "run usb_boot" command.

Regards
Aurelien

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                     http://aurel32.net


Reply to: