qtopia-phone-x11 build error

2009-01-01 Thread Shakthi Kannan
, aborting
NOTE: package 
qtopia-phone-x11-4.3.2+git0+563d5f4c781efe1a11680c6a055b409034b528ab:
failed
ERROR: Build of
/home/foo/moko/openembedded/packages/qtopia-phone/qtopia-phone-x11_git.bb
do_configure failed
ERROR: Task 1529
(/home/foo/moko/openembedded/packages/qtopia-phone/qtopia-phone-x11_git.bb,
do_configure) failed
NOTE: Tasks Summary: Attempted 4217 tasks of which 3890 didn't need to
be rerun and 1 failed.
ERROR: 
'/home/foo/moko/openembedded/packages/qtopia-phone/qtopia-phone-x11_git.bb'
failed
NOTE: build 200901011630: completed
make: *** [openmoko-asu-image] Error 1
 $

=== END ===

Any suggestions?

SK

-- 
Shakthi Kannan
http://www.shakthimaan.com

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


openocd with u-boot

2008-12-01 Thread Shakthi Kannan
Hi,

I would like to know the recommended way for stepping-through u-boot
with openocd with the debug board on the FreeRunner.

I am able to connect with the debug board, start openocd, telnet to
localhost:, and issue openocd commands.

But, is this documentation old and not applicable to FreeRunner?
http://wiki.openmoko.org/wiki/Bootloader#Bootloader_development

I am able to execute the sequence, but, u-boot.bin image from both:

1. u-boot openmoko repository (git checkout origin/stable), and

2. With QT2410 image,
(Need to add #define CONFIG_MMC_S3C 1 in include/configs/qt2410.h to
complete compilation).

doesn't display any console output in /dev/ttyUSB2 on minicom.

Appreciate any suggestions in this regard,

Thanks!

SK

-- 
Shakthi Kannan
http://www.shakthimaan.com

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


openocd - unable to open ftdi device: device not found

2008-11-20 Thread Shakthi Kannan
Hi,

I am trying to use openocd with debug board (v2+) on Debian Lenny with
libftdi1 (0.13-2), openocd (0.0+r655-1.1). I have loaded ftdi_sio
using:

 modprobe ftdi_sio vendor=0x1457 product=0x5118

On connecting the debug board, it detects /dev/ttyUSB1:

=== OUTPUT ===

Nov 21 01:55:15 debian kernel: usb 3-2: new full speed USB device
using uhci_hcd and address 17
Nov 21 01:55:15 debian kernel: usb 3-2: configuration #1 chosen from 1 choice
Nov 21 01:55:15 debian kernel: hub 3-2:1.0: USB hub found
Nov 21 01:55:15 debian kernel: hub 3-2:1.0: 4 ports detected
Nov 21 01:55:15 debian kernel: usb 3-2.1: new full speed USB device
using uhci_hcd and address 18
Nov 21 01:55:15 debian kernel: usb 3-2.1: configuration #1 chosen from 1 choice
Nov 21 01:55:15 debian kernel: ftdi_sio 3-2.1:1.0: FTDI USB Serial
Device converter detected
Nov 21 01:55:15 debian kernel: drivers/usb/serial/ftdi_sio.c: Detected FT2232C
Nov 21 01:55:15 debian kernel: usb 3-2.1: FTDI USB Serial Device
converter now attached to ttyUSB0
Nov 21 01:55:15 debian kernel: ftdi_sio 3-2.1:1.1: FTDI USB Serial
Device converter detected
Nov 21 01:55:15 debian kernel: drivers/usb/serial/ftdi_sio.c: Detected FT2232C
Nov 21 01:55:15 debian kernel: usb 3-2.1: FTDI USB Serial Device
converter now attached to ttyUSB1

=== END ===

The openocd.cfg is the same as this one:
http://wiki.openmoko.org/wiki/OpenOCD#openocd.cfg

On trying to connect using:

 sudo openocd -f openocd.cfg

it exits with error:

=== ERROR ===

Open On-Chip Debugger 1.0 (2008-08-11-18:16) svn:unknown
$URL: http://svn.berlios.de/svnroot/repos/openocd/trunk/src/openocd.c $
Info:options.c:50 configuration_output_handler(): jtag_speed: 0, 0
Info:options.c:50 configuration_output_handler(): Open On-Chip
Debugger 1.0 (2008-08-11-18:16) svn:unknown
Error:   ft2232.c:1516 ft2232_init_libftdi(): unable to open ftdi
device: device not found

=== END ===

Appreciate any help in this regard,

Thanks!

SK

-- 
Shakthi Kannan
http://www.shakthimaan.com

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: openocd - unable to open ftdi device: device not found

2008-11-20 Thread Shakthi Kannan
Hi,

--- On Fri, Nov 21, 2008 at 2:06 AM, Shakthi Kannan
[EMAIL PROTECTED] wrote:
| The openocd.cfg is the same as this one:
| http://wiki.openmoko.org/wiki/OpenOCD#openocd.cfg
\--

A small typo. Urgh!

---ft2232_device_desc Debug board for Neo1973
+++ ft2232_device_desc Debug Board for Neo1973

SK

-- 
Shakthi Kannan
http://www.shakthimaan.com

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Can't Boot Qtopia from microSD

2008-08-06 Thread Shakthi Kannan
Hi Brian,

--- On Wed, Aug 6, 2008 at 1:37 PM, Brian C [EMAIL PROTECTED] wrote:
| If someone has Qtopia (or any other distro, for that matter) booting
| from microSD, I'd appreciate very step-by-step instructions
\--

Some quick notes I had made:

1. Download qtopia-4.3.2-gta02-flash-07221045.tgz from:

http://wiki.openmoko.org/wiki/Latest_Images#Qtopia_image_from_qtopia.net

It extracts to:

  qtopia-4.3.2-gta02-flash-07221045.jffs2
  uImage_2008_07_16_gta02_73eeb0333fc771cb696ff9bf17c517c741434b59.bin

2. Prepare SD card (from USB 4-in-1 card reader):

   fdisk /dev/sdb

First partition is 8M.
Use remaining disk space for second partition.

3. Create vfat on /dev/sdb1

   mkfs.vfat /dev/sdb1

Rename the uImage kernel to uImage.bin and copy it to the first partition.

4. Create ext2 filesystem on /dev/sdb2

   mke2fs /dev/sdb2

5. Prepare the .tar.gz from .jffs2:

http://wiki.openmoko.org/wiki/Userspace_root_image#Mounting_the_JFFS2_image_on_a_loop_back_device_.28Kernel_Memory_MTD_Emulation.29

modprobe mtdcore
modprobe jffs2
modprobe mtdram total_size=59024
 /* default is 4 MByte - set to max. available size */
modprobe mtdchar
modprobe mtdblock

Check cat /proc/mtd:
# dev:size   erasesize  name
# mtd0: 039a4000 0002 mtdram test device

Use mtdram device file (mtd0, in the above):

sudo dd if=rootfs.jffs2 of=/dev/mtd0
mount -t jffs2 /dev/mtdblock0 /mnt
sudo tar czf qtopia-4.3.2-gta02-rootfs-07172049.tar.gz -C /mnt .

6. Install root filesystem on the Neo device:

scp qtopia-4.3.2-gta02-rootfs-07172049.tar.gz
[EMAIL PROTECTED]:/media/mmcblk0p2/

 cd /media/mmcblk0p2
 tar xzf qtopia-4.3.2-gta02-rootfs-07172049.tar.gz
 rm qtopia-4.3.2-gta02-rootfs-07172049.tar.gz
 rm -f /media/mmcblk0p2/boot/*

7. Press AUX button, choose boot from SD card (VFAT+ext2) and boot
into Qtopia :)

SK

-- 
Shakthi Kannan
http://www.shakthimaan.com

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support