reflesh_ben.sh on gentoo/~ppc

KIMURA Masaru hiyuh.root at gmail.com
Thu Sep 1 00:39:38 EDT 2011


Hi,

anyone uses reflesh_beb.sh on gentoo in this list?
on my gentoo/~ppc, it doesn't work.
or, xburst-tools works little-endian host only?

Peace,

--------8<--------8<--------8<--------8<--------8<--------8<--------

$ uname -a
Linux wombat 3.0.3-gentoo #1 Wed Aug 24 18:01:29 JST 2011 ppc 7447A,
altivec supported PowerMac10,2 GNU/Linux

$ powerpc-unknown-linux-gnu-gcc -v
Using built-in specs.
COLLECT_GCC=/usr/powerpc-unknown-linux-gnu/gcc-bin/4.5.3/powerpc-unknown-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/powerpc-unknown-linux-gnu/4.5.3/lto-wrapper
Target: powerpc-unknown-linux-gnu
Configured with:
/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/configure
--prefix=/usr --bindir=/usr/powerpc-unknown-linux-gnu/gcc-bin/4.5.3
--includedir=/usr/lib/gcc/powerpc-unknown-linux-gnu/4.5.3/include
--datadir=/usr/share/gcc-data/powerpc-unknown-linux-gnu/4.5.3
--mandir=/usr/share/gcc-data/powerpc-unknown-linux-gnu/4.5.3/man
--infodir=/usr/share/gcc-data/powerpc-unknown-linux-gnu/4.5.3/info
--with-gxx-include-dir=/usr/lib/gcc/powerpc-unknown-linux-gnu/4.5.3/include/g++-v4
--host=powerpc-unknown-linux-gnu --build=powerpc-unknown-linux-gnu
--enable-altivec --disable-fixed-point --with-ppl --with-cloog
--disable-ppl-version-check
--with-cloog-include=/usr/include/cloog-ppl --enable-lto --enable-nls
--without-included-gettext --with-system-zlib --disable-werror
--enable-secureplt --disable-multilib --enable-libmudflap
--disable-libssp --enable-libgomp
--with-python-dir=/share/gcc-data/powerpc-unknown-linux-gnu/4.5.3/python
--enable-checking=release --disable-libgcj
--enable-languages=c,c++,fortran --enable-shared
--enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
--with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo
4.5.3-r1 p1.0, pie-0.4.5'
Thread model: posix
gcc version 4.5.3 (Gentoo 4.5.3-r1 p1.0, pie-0.4.5)

$ cd /usr/portage/distfiles/git-src/xburst-tools && git log -n1
commit ad27b63155044cb7c913eec96498e7d096e67e01
Author: Xiangfu Liu <xiangfu at sharism.cc>
Date:   Thu Aug 4 16:12:40 2011 +0800

    usbboot: remove useless NAND_READ_TO_RAM from host.

(using attached ebuild,)
$ sudo emerge dev-embedded/xburst-tools-9999
(emerge log is attached.)

$ equery files dev-embedded/xburst-tools
 * Searching for xburst-tools in dev-embedded ...
 * Contents of dev-embedded/xburst-tools-9999:
/etc
/etc/xburst-tools
/etc/xburst-tools/usbboot.cfg
/usr
/usr/bin
/usr/bin/jzboot
/usr/bin/usbboot
/usr/bin/xbboot
/usr/share
/usr/share/xburst-tools
/usr/share/xburst-tools/xburst_stage1.bin
/usr/share/xburst-tools/xburst_stage2.bin

$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 05ac:1000 Apple, Inc. Bluetooth HCI MacBookPro (HID mode)
Bus 001 Device 002: ID 601a:4740 Ingenic Semiconductor Ltd. XBurst
Jz4740 boot mode

$ cd path/to/reflesh_ben.sh && md5sum reflash_ben.sh
a019c941cdbe8b5a08cbba81da658c16

$ sudo ./reflesh_ben.sh
working dir:      /root/.qi/nanonote/ben/latest
chosen method:    http
http://downloads.qi-hardware.com/software/images/NanoNote/Ben
chosen version:   latest
===
present files are identical to the ones on the server - do not
download them again
booting device...
Error - can't retrieve XBurst CPU information: -110
flashing bootloader...
Done:
[


                                                               ]
===
fatal error occured - ABORTED
===
error while flashing bootloader:
Error - can't retrieve XBurst CPU information: -110
===
Before reporting this as a bug
Please ensure you're using the latest available version of this reflash script
http://downloads.qi-hardware.com/software/images/NanoNote/Ben/reflash_ben.sh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xburst-tools-9999.ebuild
Type: application/octet-stream
Size: 1552 bytes
Desc: not available
URL: <http://lists.en.qi-hardware.com/pipermail/discussion/attachments/20110901/eb7871af/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xburst-tools-9999.log
Type: application/octet-stream
Size: 27465 bytes
Desc: not available
URL: <http://lists.en.qi-hardware.com/pipermail/discussion/attachments/20110901/eb7871af/attachment-0001.obj>


More information about the discussion mailing list


interactive