reflash_ben.sh
Yi Zhang
yi at sharism.cc
Wed Nov 24 15:26:05 EST 2010
Hi Xiangfu,
I have tried reflash the latest image by following simple steps at
[1]. Then I got the error message "can't find file openwrt-xburst-
qi_lb60-root.ubi...". I realized the following scripts didn't run
correctly:
------------------------------------------
if [ "$R" == "TRUE" ]; then
log "try fetching .ubi.bz2 rootfs..."
wget \
-a "${LOG_FILE}" \
-P "${WORKING_DIR}" \
"${BASE_URL_HTTP}/${VERSION}/${ROOTFS}.bz2" && \
(cd ${WORKING_DIR}; bzip2 -d ${ROOTFS}.bz2)
if [ "$?" == "8" ]; then
log "fetching .ubi rootfs..."
wget \
-a "${LOG_FILE}" \
-P "${WORKING_DIR}" \
"${BASE_URL_HTTP}/${VERSION}/${ROOTFS}"
fi
fi
------------------------------
What I understood is, if it didn't find file {ROOTFS}.bz2, it should
go on fetching {ROOTFS} file, but in reality, it didn't do so,
instead it went straight to the next step: "booting device..."
Could you please take a quick look at it?
Thanks,
Yi
[1] http://en.qi-hardware.com/wiki/Reflash_ben.sh
More information about the discussion
mailing list