How to load/run linux from sd card in ID800T(jz4740 based DPF)

sanjay kumar sanjug75 at gmail.com
Mon Dec 7 01:44:56 EST 2009


Hi,

I have bought one Sungale DPF ID800T which is based on jz4740 chip. DPF
works perfectly fine.

I am intrested in loading/booting linux from sd card.

I found one link on how to boot linux without disturbing Flash, Below is the
link:

 http://code.google.com/p/jz-hacking/

I follow the same steps but in step4(Boot Linux), it crashes.

Please let me know whether it is possible to boot linux from SD card in
ID800T. If, yes what could be the problem.

 I am using ubuntu 9.4 version on host PC.

Following is the error message, I get:

choice dixit at dixit-laptop:~/jz_tools_20090224/usb_tools$ sudo ./usbtool 12
USBtool v0.4 - (C) 2008 Maurus Cuelenaere This is free software; see the
source for copying conditions.  There is NO warranty; not even for
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.



[INFO] Searching for device...

[INFO] Found device, uploading application.

[INFO] Start!

[INFO] GET_CPU_INFO: JZ4740V1

[INFO] Set address to 0x80000000... Done!

[INFO] Sending file jz_xloader.bin: 1512 bytes... Done!

[INFO] GET_CPU_INFO: JZ4740V1

[INFO] Verifying data (jz_xloader.bin)... Done!

[INFO] Stage 1 at 0x80000000

[INFO] GET_CPU_INFO: JZ4740V1

[INFO] Set address to 0x80100000... Done!

[INFO] Sending file u-boot-boot-linux.bin: 199592 bytes... Done!

[INFO] GET_CPU_INFO: JZ4740V1

[INFO] Verifying data (u-boot-boot-linux.bin)... Done!

[INFO] GET_CPU_INFO: JZ4740V1

[INFO] Flushing caches...

[INFO] GET_CPU_INFO: JZ4740V1

[INFO] Stage 2 at 0x80100000

[INFO] Done!

*** stack smashing detected ***: ./usbtool terminated ======= Backtrace:
========= /lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0xb8023da8]

/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x0)[0xb8023d60]

./usbtool[0x805088f]

./usbtool[0x8053770]

./usbtool[0x8053e67]

/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb7f3c775]

./usbtool[0x8048b81]

======= Memory map: ========

08048000-08055000 r-xp 00000000 08:05 257130
/home/dixit/jz_tools_20090224/usb_tools/usbtool

08055000-08056000 r--p 0000c000 08:05 257130
/home/dixit/jz_tools_20090224/usb_tools/usbtool

08056000-08057000 rw-p 0000d000 08:05 257130
/home/dixit/jz_tools_20090224/usb_tools/usbtool

08ed2000-08efe000 rw-p 08ed2000 00:00 0          [heap]

b7f16000-b7f23000 r-xp 00000000 08:05 1638465    /lib/libgcc_s.so.1

b7f23000-b7f24000 r--p 0000c000 08:05 1638465    /lib/libgcc_s.so.1

b7f24000-b7f25000 rw-p 0000d000 08:05 1638465    /lib/libgcc_s.so.1

b7f25000-b7f26000 rw-p b7f25000 00:00 0

b7f26000-b8082000 r-xp 00000000 08:05 1656024    /lib/tls/i686/cmov/
libc-2.9.so

b8082000-b8083000 ---p 0015c000 08:05 1656024    /lib/tls/i686/cmov/
libc-2.9.so

b8083000-b8085000 r--p 0015c000 08:05 1656024    /lib/tls/i686/cmov/
libc-2.9.so

b8085000-b8086000 rw-p 0015e000 08:05 1656024    /lib/tls/i686/cmov/
libc-2.9.so

b8086000-b8089000 rw-p b8086000 00:00 0

b8089000-b808f000 r-xp 00000000 08:05 1638549    /lib/libusb-0.1.so.4.4.4

b808f000-b8090000 r--p 00005000 08:05 1638549    /lib/libusb-0.1.so.4.4.4

b8090000-b8092000 rw-p 00006000 08:05 1638549    /lib/libusb-0.1.so.4.4.4

b80a2000-b80a4000 rw-p b80a2000 00:00 0

b80a4000-b80a5000 r-xp b80a4000 00:00 0          [vdso]

b80a5000-b80c1000 r-xp 00000000 08:05 1638423    /lib/ld-2.9.so

b80c1000-b80c2000 r--p 0001b000 08:05 1638423    /lib/ld-2.9.so

b80c2000-b80c3000 rw-p 0001c000 08:05 1638423    /lib/ld-2.9.so

bf9ae000-bf9c3000 rw-p bffeb000 00:00 0          [stack]

Aborted



Please help me to solve this.



Thanks in advance.



Best Regards,

Sanjay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.en.qi-hardware.com/pipermail/discussion/attachments/20091207/d850816c/attachment.htm>


More information about the discussion mailing list


interactive