Dobrica Pavlinušić's random unstructured stuff
OpenMoko: Revision 20
u-bootGTA01Bv4 # nand bad Device 0 bad blocks: 00070000 00ab0000 00f00000 03ff0000 03ff4000 03ff8000 03ffc000 GTA01Bv4 # dynpart mtdparts mtdparts=neo1973-nand:0x00040000(u-boot),0x00004000(u-boot_env),0x00204000(kernel),0x000a0000(splash),0x03d18000(rootfs) GTA01Bv4 # dynenv set u-boot_env device 0 offset 0x40000, size 0x4000 45 4e 56 30 - 00 00 04 00 GTA01Bv4 # device 0 offset 0x40000, size 0x4000 45 4e 56 30 - 00 00 04 00 GTA01Bv4 # saveenv Saving Environment to NAND... Saving ESaving EnvironmnvironmWriting to Nand... done InfoGTA01Bv4 # bdinfo arch_number = 0x0000049E env_t = 0x00000000 boot_params = 0x30000100 DRAM bank = 0x00000000 -> start = 0x30000000 -> size = 0x08000000 ethaddr = 00:00:00:00:00:00 ip_addr = 0.0.0.0 baudrate = 115200 bps GTA01Bv4 # printenv baudrate=115200 bootcmd=setenv bootargs ${bootargs_base} ${mtdparts}; nand read.e 0x32000000 kernel; bootm 0x32000000 bootdelay=1 menu_1=Set console to USB: setenv stdin usbtty; setenv stdout usbtty; setenv stderr usbtty menu_2=Set console to serial: setenv stdin serial; setenv stdout serial; setenv stderr serial menu_3=Power off: neo1973 power-off menu_4=Boot from SD: setenv bootargs root=/dev/mmcblk0p1 rootdelay=5 console=ttySAC0,115200 console=tty0 loglevel=8 ${mtdparts} ro; mmcinit; ext2load mmc 0 0x32000000 /boot/${sd_image_name}; bootm 0x32000000 mtdids=nand0=neo1973-nand quiet=1 sd_image_name=uImage splashimage=nand read.e 0x32000000 splash 0x5000; unzip 0x32000000 0x33d00000 0x96000 stderr=usbtty stdin=usbtty stdout=usbtty usbtty=cdc_acm bootargs_base=rootfstype=jffs2 root=/dev/mtdblock4 console=tty0 loglevel=8 mtdparts=mtdparts=neo1973-nand:0x00040000(u-boot),0x00004000(u-boot_env),0x00204000(kernel),0x000a0000(splash),0x03d18000(rootfs) mtdparts=mtdparts=nmtddevnum=0 mtddevname=u-boot pcf50606_int1=0x4a Environment size: 1028/16380 bytes GTA01Bv4 # mtd device nand0 <neo1973-nand>, # parts = 5 0: u-boot 0x00040000ts 0x00000000 0 1: u-boot_env 0x00004000 0x00040000 0 2: kernel 0x00204000 0x00044000 0 3: splash 0x000a0000 0x00248000 0 4: rootfs 0x03d18000 0x002e8000 0 active partition: nand0,0 - (u-boot) 0x00040000 @ 0x00000000 defaults: mtdids : nand0=neo1973-nand mtdparts: <NULL> dfu-utilDisable bluetooth which also responds to dfu: .prex200:/home/dpavlin# echo disable > /proc/acpi/ibm/bluetooth * http://wiki.openmoko.org/wiki/Flashing_the_Neo_1973 Boot moko by pressing AUX (top-left smooth button) and power (on the right below usb cable)
x200:/virtual/openmoko# dfu-util --list dfu-util does currently only support DFU version 1.0 Found Runtime: 0x1457:0x5119 devnum=38, cfg=0, intf=2, alt=0, name="USB Device Firmware Upgrade" Hm. We need to reset device in DFU mode
x200:/virtual/openmoko# dfu-util --device 0x1457:0x5119 --download xx dfu-util does currently only support DFU version 1.0
Opening USB Device 0x1457:0x5119...
x200:/virtual/openmoko# dfu-util --device 0x1457:0x5119 --list dfu-util does currently only support DFU version 1.0
Found DFU: 0x1457:0x5119 devnum=39, cfg=0, intf=0, alt=0, name="RAM 0x32000000" ^^ flash kernel
x200:/virtual/openmoko/fso# dfu-util dfu-util does currently only support DFU version 1.0
Opening USB Device 0x0000:0x0000... ^^ flash rootfs
x200:/virtual/openmoko/fso# dfu-util dfu-util does currently only support DFU version 1.0
Opening USB Device 0x0000:0x0000... No worky ^ openocd * {file: openocd.cfg} * http://wiki.openmoko.org/wiki/Neo1973_OpenOCD
x200:/virtual/openmoko# openocd ---- Scratch pad for my notes about OpenMoko ^ Android * http://onlinedev.blogspot.com/2008/11/porting-android-phase-4-done.html dpavlin@llin:/rest/cvs/qemu-neo1973/openmoko/android$ wget -r -np -m http://people.openmoko.org/sean_mcneil/ ^ Open Issues * how to start "matchbox-stroke"<http://svn.o-hand.com/view/matchbox/trunk/matchbox-stroke/> ? * "gsmd problem"<http://bugzilla.openmoko.org/cgi-bin/bugzilla/show_bug.cgi?id=755> ^ Pending issues * "gps driver"<http://lists.openmoko.org/pipermail/community/2007-November/011916.html> * using keyboard without mouse -- "Finger Keyboard"<http://projects.openmoko.org/projects/finger-keyboard/> ^ Resolved issues * correct time -- `ipkg install ntpdate` ^ Qemu Alternative way to build qemu with Neo 1973 emulation:
svn co https://svn.openmoko.org/trunk/src/host/qemu-neo1973
./configure --target-list=arm-softmmu --enable-gadgetfs
ln -s /usr/src/linux/include/linux
make ^ See also ^^ Other pages on this wiki about OpenMoko {search: openmoko} ^^ My blog posts about OpenMoko {fetchrss: http://blog.rot13.org/mt/mt-search.cgi?tag=openmoko&Template=feed&IncludeBlogs=1} |