summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--firmware/target/hosted/agptek/rocker.make1
-rw-r--r--tools/agptek_rocker/bootloader_install.sh3
2 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/hosted/agptek/rocker.make b/firmware/target/hosted/agptek/rocker.make
index 1e8faaac0d..dd6be88f57 100644
--- a/firmware/target/hosted/agptek/rocker.make
+++ b/firmware/target/hosted/agptek/rocker.make
@@ -31,6 +31,7 @@ $(BUILDDIR)/bootloader.elf : $$(OBJ) $(FIRMLIB) $(CORE_LIBS)
$(LDOPTS) $(GLOBAL_LDOPTS) -Wl,--gc-sections -Wl,-Map,$(BUILDDIR)/bootloader.map
$(BUILDDIR)/$(BINARY): $(BUILDDIR)/bootloader.elf
+ $(call PRINTS,OC $(@F))$(call objcopy,$^,$@)
else
# rockbox app build
diff --git a/tools/agptek_rocker/bootloader_install.sh b/tools/agptek_rocker/bootloader_install.sh
index d647c6c59b..afe17ab552 100644
--- a/tools/agptek_rocker/bootloader_install.sh
+++ b/tools/agptek_rocker/bootloader_install.sh
@@ -59,8 +59,7 @@ echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
echo "!!! STEP 4: Copy bootloader !!!"
echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
echo
-cp $BUILD/bootloader.elf $ROOTFS/usr/bin/rb_bootloader && \
-mipsel-rockbox-linux-gnu-strip --strip-unneeded $ROOTFS/usr/bin/rb_bootloader
+cp $BUILD/bootloader.rocker $ROOTFS/usr/bin/rb_bootloader
# Overwrite default player starting script with one running our bootloader
echo