reflesh_ben.sh on gentoo/~ppc

KIMURA Masaru hiyuh.root at gmail.com
Sun Sep 4 22:13:04 EDT 2011


Hi,

> Try this:
> http://downloads.qi-hardware.com/people/dvdkhlng/xburst-tools-static-mipsel.tar.bz2

it doesn't work b/c qemu-mipsel fails to emulate ioctl.

Peace,

--------8<--------8<--------8<--------8<--------8<--------8<--------
(prepare qemu-mipsel)
$ sudo emerge =app-emulation/qemu-0.14.0

(deploy static mipsel xburst-tools)
$ cd /tmp
$ wget http://downloads.qi-hardware.com/people/dvdkhlng/xburst-tools-static-mipsel.tar.bz2
$ tar -xvjf xburst-tools-static-mipsel.tar.bz2
$ sudo cp usr/local/bin/usbboot /usr/bin/usbboot-static-mipsel
$ sudo cp usr/local/bin/jzboot /usr/bin/usbboot-static-mipsel
$ sudo cp usr/local/bin/xbbboot /usr/bin/usbboot-static-mipsel
$ md5sum /usr/bin/*-static-mipsel
b6ed9bf214b374340ee064f2b6b9feeb  /usr/bin/jzboot-static-mipsel
9a1bf2ba5af87e93c261d164431622a6  /usr/bin/usbboot-static-mipsel
5a2e446df230aed2339a23352ddbabf8  /usr/bin/xbboot-static-mipsel

(edit reflesh_ben.sh to use static mipsel xburst-tools)
$ cp reflesh_ben.sh reflesh_ben-static-mipsel.sh
$ sed -i -e 's|usbboot|qemu-mipsel /usr/bin/usbboot-static-mipsel|'
reflesh_ben-static-mipsel.sh
$ sed -i -e 's|jzboot|qemu-mipsel /usr/bin/jzboot-static-mipsel|'
reflesh_ben-static-mipsel.sh
$ sed -i -e 's|xbboot|qemu-mipsel /usr/bin/xbboot-static-mipsel|'
reflesh_ben-static-mipsel.sh

(run reflesh_ben-static-mipsel.sh)
$ 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
$ su
# ./reflesh_ben-static-mipsel.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...
Unsupported ioctl: cmd=0x80085511
Unsupported ioctl: cmd=0x80085511
Unsupported ioctl: cmd=0xc00c5512
Unsupported ioctl: cmd=0xc00c5512
Unsupported ioctl: cmd=0x80085511
Unsupported ioctl: cmd=0xc00c5512
Unsupported ioctl: cmd=0x80085511
Unsupported ioctl: cmd=0xc00c5512
Unsupported ioctl: cmd=0x80085511
Unsupported ioctl: cmd=0x80085511
Unsupported ioctl: cmd=0xc00c5512
Unsupported ioctl: cmd=0xc00c5512
Error - no XBurst device found
===
fatal error occured - ABORTED
===
can't boot device - xburst-tools setup correctly? device in boot-mode?
device connected?
===
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




More information about the discussion mailing list


interactive