Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions package/boot/rkbin/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ PKG_RELEASE:=1

PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/rockchip-linux/rkbin.git
PKG_SOURCE_DATE:=2024-02-22
PKG_SOURCE_VERSION:=a2a0b89b6c8c612dca5ed9ed8a68db8a07f68bc0
PKG_MIRROR_HASH:=39f15e5f8fac02026065b6747b355b93f4e06202783ae448c43607763211597c
PKG_SOURCE_DATE:=2025-06-13
PKG_SOURCE_VERSION:=74213af1e952c4683d2e35952507133b61394862
PKG_MIRROR_HASH:=6031a672c66272b3003a2795336f4905058972527e01b881c77b316f5df0132c

PKG_LICENSE_FILES:=LICENSE
PKG_MAINTAINER:=Tianling Shen <cnsztl@immortalwrt.org>
Expand Down
2 changes: 1 addition & 1 deletion target/linux/rockchip/image/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ define Build/rockchip32-legacy-bin
$(CP) $(IMAGE_KERNEL) $@.boot/kernel

# generate boot.img with boot.its
mkimage -E -p 0x800 -f $@.boot/boot.its $@.boot/boot.img
PATH=$(LINUX_DIR)/scripts/dtc:$(PATH) mkimage -E -p 0x800 -f $@.boot/boot.its $@.boot/boot.img

# generate basic image
dd if=/dev/zero of="$@" bs=512 count=67136 conv=notrunc
Expand Down
18 changes: 17 additions & 1 deletion target/linux/rockchip/image/cortexa7.mk
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,12 @@ endef
define Device/Default-sdcard
$(Device/Default-arm32)
FILESYSTEMS := squashfs
IMAGES := boot.img rootfs.img
IMAGES := boot.img rootfs.img env.img idblock.img uboot.img
IMAGE/rootfs.img := append-rootfs | pad-extra 128k
IMAGE/boot.img := resource-img | boot-arm-bin
IMAGE/env.img := env-rv1106-sd-img | rockchip-env-img
IMAGE/idblock.img := rockchip-idblock-img
IMAGE/uboot.img := rockchip-uboot-img
endef

define Device/Default-spiflash
Expand Down Expand Up @@ -129,6 +132,19 @@ define Device/luckfox_pico-max
endef
TARGET_DEVICES += luckfox_pico-max

define Device/luckfox_pico-mini
$(Device/Default-sdcard)
DEVICE_TITLE := Luckfox Pico Mini
SUPPORTED_DEVICES := luckfox,rv1103-luckfox-pico-mini
SOC := rv1103
DEVICE_DTS := rv1103g-luckfox-pico-mini
UBOOT_DEVICE_NAME := rv1106-sd
DEFAULT_PACKAGES += kmod-rknpu-rockchip
IMAGES += sysupgrade.img.gz
IMAGE/sysupgrade.img.gz := env-rv1106-sd-img | rockchip32-legacy-bin | append-rootfs | pad-extra 128k | gzip | append-metadata
endef
TARGET_DEVICES += luckfox_pico-mini

define Device/luckfox_pico-86panel-w
$(Device/Default-emmc)
DEVICE_TITLE := Luckfox Pico 86panel-w
Expand Down
3 changes: 3 additions & 0 deletions target/linux/rockchip/image/uboot.env.sd.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
blkdevparts=mmcblk1:32K(env),512K@32K(idblock),256K(uboot),32M(boot),2G(rootfs),1G(oem),2G(userdata),-(media)
sys_bootargs= root=/dev/mmcblk1p5 rootfstype=squashfs,ext4,f2fs rw rootwait rk_dma_heap_cma=24M
sd_parts=mmcblk0:16K@512(env),512K@32K(idblock),4M(uboot)