Initial Commit
- initial default booting image
This commit is contained in:
17
package/raspberrypi-usbboot/Config.in.host
Normal file
17
package/raspberrypi-usbboot/Config.in.host
Normal file
@@ -0,0 +1,17 @@
|
||||
config BR2_PACKAGE_HOST_RASPBERRYPI_USBBOOT
|
||||
bool "host raspberrypi-usbboot"
|
||||
depends on BR2_arm || BR2_aarch64
|
||||
depends on BR2_HOST_GCC_AT_LEAST_4_9 # host-libusb
|
||||
help
|
||||
This package builds and install the "rpiboot" tool for the
|
||||
host machine. This tool allows to boot the Broadcom BCM
|
||||
processor used in the RaspberryPi to boot over USB, and have
|
||||
it expose a USB mass storage device in order to reflash the
|
||||
built-in storage of the RaspberryPi (useful for the eMMC
|
||||
built into the Compute module).
|
||||
|
||||
https://github.com/raspberrypi/usbboot
|
||||
|
||||
comment "host raspberrypi-usbboot needs a toolchain w/ host gcc >= 4.9"
|
||||
depends on BR2_arm || BR2_aarch64
|
||||
depends on !BR2_HOST_GCC_AT_LEAST_4_9
|
||||
5
package/raspberrypi-usbboot/raspberrypi-usbboot.hash
Normal file
5
package/raspberrypi-usbboot/raspberrypi-usbboot.hash
Normal file
@@ -0,0 +1,5 @@
|
||||
# Locally calculated
|
||||
sha256 339b1e2a0853ad700339206a2424c3fc9559518bc37ebfaac76b0484cf6f5bdb raspberrypi-usbboot-20250227-132106-git4.tar.gz
|
||||
|
||||
# License files
|
||||
sha256 b40930bbcf80744c86c46a12bc9da056641d722716c378f5659b9e555ef833e1 LICENSE
|
||||
23
package/raspberrypi-usbboot/raspberrypi-usbboot.mk
Normal file
23
package/raspberrypi-usbboot/raspberrypi-usbboot.mk
Normal file
@@ -0,0 +1,23 @@
|
||||
################################################################################
|
||||
#
|
||||
# raspberrypi-usbboot
|
||||
#
|
||||
################################################################################
|
||||
|
||||
RASPBERRYPI_USBBOOT_VERSION = 20250227-132106
|
||||
RASPBERRYPI_USBBOOT_SITE = https://github.com/raspberrypi/usbboot.git
|
||||
RASPBERRYPI_USBBOOT_SITE_METHOD = git
|
||||
RASPBERRYPI_USBBOOT_LICENSE = Apache-2.0
|
||||
RASPBERRYPI_USBBOOT_LICENSE_FILES = LICENSE
|
||||
|
||||
HOST_RASPBERRYPI_USBBOOT_DEPENDENCIES = host-libusb
|
||||
|
||||
define HOST_RASPBERRYPI_USBBOOT_BUILD_CMDS
|
||||
$(HOST_MAKE_ENV) $(MAKE) $(HOST_CONFIGURE_OPTS) -C $(@D)
|
||||
endef
|
||||
|
||||
define HOST_RASPBERRYPI_USBBOOT_INSTALL_CMDS
|
||||
$(INSTALL) -D -m 0755 $(@D)/rpiboot $(HOST_DIR)/bin/rpiboot
|
||||
endef
|
||||
|
||||
$(eval $(host-generic-package))
|
||||
Reference in New Issue
Block a user