Repository navigation
install-novatek: the first install from the vendor U-Boot, step by step - #616
Conversation
Replace the "to be completed" note with what the images support, a backup step, the U-Boot environment that installs and boots them (osmem, bootargs with ${osmem}, bootcmd, uk, ur), firstboot and claiming the camera. In uk and ur every step is chained with &&, so a failed download stops before the flash is erased rather than writing an empty buffer over the partition.
PR Summary by QodoDocument safe first-time OpenIPC installation on Novatek boards
AI Description
Diagram
High-Level Assessment
Files changed (1)
|
Code Review by Qodo
1. The guide exposes a vendor boot command
|
…ilure A fresh image has no shell until it is claimed, and firstboot erases that claim, so the first-install steps now say so in order. uk, ur and reset are joined with && so a failed step stops before the camera resets, the backup step points to the backup guide instead of a single-partition cat, and the licence is named as the user sees it.
The Initial device firmware update section on this page has been a placeholder ("will be completed at the end of the research") followed by
run uk; run ur; reset, which only works ifukanduralready exist. People keep asking how to flash these boards (OpenIPC/firmware#1496).This adds:
nvt@na51089:prompt, 8 MB+ NOR, the three sensors the image drives (SC401AI, SC500AI, SC501AI), and the two published images. The NT98562 image is marked as not yet tested on a camera.soc,osmem,bootargswith the${osmem}placeholder from install-novatek: keep osmem and mem= equal, with ${osmem} in bootargs #615,bootcmd,uk,ur),firstboot, and claiming the camera.run uk; run ur; reset, orsysupgrade.ukandurchain every step with&&. In the form used so far (tftp ... && sf probe 0; sf erase ...; sf write ...), the&&covers onlysf probe. If the download fails in a session where the flash is already selected, for examplerun urstraight afterrun uk, the partition is still erased and an empty buffer written back. With the chained form, a failed download stops before anything is erased.Verified on an NT98566 board with this vendor U-Boot:
uk/urflash the published image and the camera boots and streams;run urstops at the TFTP error and erases nothing.Not covered: starting from the stock vendor firmware (verified from an existing OpenIPC install on the same U-Boot), and 16 MB flash.