* Andy Green <[EMAIL PROTECTED]> [081116 14:17]: > Somebody in the thread at some point said:
> | Then I booted into SHR and tried calling. No sound. Ssh'd into it and > | looked at alsamixer, which looked fine. So I thought this might be some > | incompatibility between SHR and stable-tracking. > | > | Then I re-flashed u-boot changed the environment to boot the bigger > | kernel and retried. With success. > Can you give me a URL for the SHR image you used, I'll try it tonight. http://shr.bearstech.com/shr-testing/images/neo1973/openmoko-shr-image-lite-glibc-ipk--20081110-om-gta02.rootfs.jffs2.summary > | Will retry now with the newer Qi (qi-s3c2442-andy_589233efbd0792b8.udfu) > | and the newer uImage > (uImage-moredrivers-GTA02_stable-tracking_69f1632025765e66-GTA02.bin) > | and will tell you, if I can reproduce it... > | > |> Which sound channels are we trying to use? > | How do I check this? > I am just wondering about if it is the earpiece, the ringer or headset, > or if they are all strangely silent. default for frameworkd should be stereoout. > I have tested sound in the past by cat /dev/urandom /dev/dsp for example. > I guess there are things we could do in Qi to impact sound but it's > funny because the GPIO init and the PMU register init is based on stuff > from U-Boot directly, although the PMU register list was really chopped > down... maybe that's the first place to look. so this is what I (re-)did step-by-step: ------------------------------------------------------------------------ - go into NOR boot env - flash Qi 0022 SU:[EMAIL PROTECTED]/6]:/home/mok/Downloads-> dfu-util -a u-boot -R -D qi-s3c2442-andy_589233efbd0792b8.udfu dfu-util - (C) 2007 by OpenMoko Inc. This program is Free Software and has ABSOLUTELY NO WARRANTY Opening USB Device 0x0000:0x0000... Claiming USB DFU Runtime Interface... Determining device status: state = appIDLE, status = 0 Device really in Runtime Mode, send DFU detach request... Resetting USB... Opening USB Device... Found Runtime: [0x1d50:0x5119] devnum=22, cfg=0, intf=0, alt=1, name="u-boot" Claiming USB DFU Interface... Setting Alternate Setting ... Determining device status: state = dfuIDLE, status = 0 dfuIDLE, continuing Transfer Size = 0x1000 bytes_per_hash=518 Starting download: [##################################################] finished! state(2) = dfuIDLE, status(0) = No error condition is present Done! Resetting USB to switch back to runtime mode - flash kernel 0022 SU:[EMAIL PROTECTED]/6]:/home/mok/Downloads-> dfu-util -a kernel -R -D uImage-moredrivers-GTA02_stable-tracking_69f1632025765e66-GTA02.bin dfu-util - (C) 2007 by OpenMoko Inc. This program is Free Software and has ABSOLUTELY NO WARRANTY Opening USB Device 0x0000:0x0000... Claiming USB DFU Runtime Interface... Determining device status: state = appIDLE, status = 0 Device really in Runtime Mode, send DFU detach request... Resetting USB... Opening USB Device... Found Runtime: [0x1d50:0x5119] devnum=24, cfg=0, intf=0, alt=3, name="kernel" Claiming USB DFU Interface... Setting Alternate Setting ... Determining device status: state = dfuIDLE, status = 0 dfuIDLE, continuing Transfer Size = 0x1000 bytes_per_hash=46829 Starting download: [##################################################] finished! state(2) = dfuIDLE, status(0) = No error condition is present Done! Resetting USB to switch back to runtime mode - power off via NOR menu - turn on freerunner - ssh into the freerunner - play some music [EMAIL PROTECTED] ~ $ gst-launch filesrc location=music.mp3 ! mad ! audioconvert ! audioresample ! alsasink Setting pipeline to PAUSED ... Pipeline is PREROLLING ... Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstAudioSinkClock - nothing to hear - turn off the freerunner - go into NOR - flash u-boot (gta02v5_and_up-u-boot.bin from daily downloaded yesterday) 0022 SU:[EMAIL PROTECTED]/2]:/home/mok-> dfu-util -a u-boot -R -D Downloads/gta02v5_and_up-u-boot.bin dfu-util - (C) 2007 by OpenMoko Inc. This program is Free Software and has ABSOLUTELY NO WARRANTY Opening USB Device 0x0000:0x0000... Claiming USB DFU Runtime Interface... Determining device status: state = appIDLE, status = 0 Device really in Runtime Mode, send DFU detach request... Resetting USB... Opening USB Device... Found Runtime: [0x1d50:0x5119] devnum=30, cfg=0, intf=0, alt=1, name="u-boot" Claiming USB DFU Interface... Setting Alternate Setting ... Determining device status: state = dfuIDLE, status = 0 dfuIDLE, continuing Transfer Size = 0x1000 bytes_per_hash=4330 Starting download: [##################################################] finished! state(2) = dfuIDLE, status(0) = No error condition is present Done! Resetting USB to switch back to runtime mode - turn off via NOR menu entry - turn on - ssh into it - play some music [EMAIL PROTECTED] ~ $ gst-launch filesrc location=music.mp3 ! mad ! audioconvert ! audioresample ! alsasink Setting pipeline to PAUSED ... Pipeline is PREROLLING ... Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstAudioSinkClock - nice music is to be listened at :) ------------------------------------------------------------------------ Another thing I notice... the newer kernel I flashed (69f1632025765e66) is supposed to turn the backlight of? Because I still the screen gray and not completely off. > -Andy Thank you Mok
