New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Netboot: Use of Serial Number as Image Identifier #648
Comments
I don't actually understand what it is that you are trying to do, why would you want a different firmware/kernel dependant upon the version of the Raspberry Pi? |
The current netboot implementation, or implementation proposal, appears to use the pi serial number in the path get to a directory/file for the correct firmware. 714 931 7952
To: raspberrypi/firmware firmware@noreply.github.com I don't actually understand what it is that you are trying to do, why would you want a different firmware/kernel dependant upon the version of the Raspberry Pi?— |
On consideration based on our focus on the enterprise market we'd prefer the start.elf to be on the sd card and use the DHCP parameters to download the kernel & dtb, and then the kernel mount the filesystem when the kernel starts. We'd live with being unable to update the firmware. We not replace the SDCards for the life of the PI, which we estimate at 3 years. 714 931 7952
To: raspberrypi/firmware firmware@noreply.github.com I don't actually understand what it is that you are trying to do, why would you want a different firmware/kernel dependant upon the version of the Raspberry Pi?— |
But you don't have to use a serial number, you can just put all the files into the base tftpboot directory along with the bootcode.bin and every device will pick it up from there... So you only need one copy of the firmware. Is there any reason why you would need different firmware for different versions of Pis? Currently all Raspbian releases will run equally well on all models of Raspberry Pi so you don't need different versions of the software for different versions of the hardware. Otherwise it would be possible to create a special linux build that you put into the base directory that is used for Raspberry Pis that have no serial number stored on the server. This build boots up and automatically executes a script (you can I think just do this using a cmdline parameter of init=myscript.sh) which can then check the revision number and log into the server to create a new symbolic link for it's serial number, then reboot... I'd rather not add another method for doing this since it delays booting to check every possible place for a build |
Gordon Introducing changes, is an incremental, phased and careful process. Roll forward and roll back are requirements, because changes have the potential to be disruptive, and need to be managed. Symbolic links provide such a mechanism. The process to configure a PI to netboot, we also need to discuss. Our potential customers cannot use a product with two modes of operation, netboot and non-netboot which are visibly indistinguishable, and again we want to both make an inventory of spares easy to manage, for both us and our customers, there is but one part, and it is configured by the appropriate colour coded sd card, or equivalent. 714 931 7952
To: raspberrypi/firmware firmware@noreply.github.com But you don't have to use a serial number, you can just put all the files into the base tftpboot directory along with the bootcode.bin and every device will pick it up from there...So you only need one copy of the firmware.Is there any reason why you would need different firmware for different versions of Pis? Currently all Raspbian releases will run equally well on all models of Raspberry Pi so you don't need different versions of the software for different versions of the hardware.Otherwise it would be possible to create a special linux build that you put into the base directory that is used for Raspberry Pis that have no serial number stored on the server. This build boots up and automatically executes a script (you can I think just do this using a cmdline parameter of init=myscript.sh) which can then check the revision number and log into the server to create a new symbolic link for it's serial number, then reboot...I'd rather not add another method for doing this since it delays booting to check every possible place for a build— |
Please open a different issue if you have other requests. |
We like to request a modification the the file path naming approach in the netboot function of the PI. The approach, using the serial number imposes very difficult and expensive requirements on an enterprise (large number of PIs).
Model number or model number-rev number to identify the firmware kernel would be a better approach.
If a PI does not work, that is it does not have a directory in the file service, the serial number needs to be visible on an unpowered machine. If the serial number is burnt into the silicon, or NVRAM on the board, how does the use access the serial number when on the phone to the help desk?
Silkscreen on the board is a bad idea. Now the user has to open the case. Labels which peel off do not help, inconsistencies happen.
We believe the serial number based solution does not scale, managing the boot directories for 500 or 1,000 people would create a new industry by itself.
We should not confuse asset management with version management.
The text was updated successfully, but these errors were encountered: