Dobrica Pavlinušić's random unstructured stuff
OpenMoko: Revision 16
Scratch pad for my notes about OpenMoko Androiddpavlin@llin:/rest/cvs/qemu-neo1973/openmoko/android$ wget -r -np -m http://people.openmoko.org/sean_mcneil/ Open Issues
Pending issues
Resolved issues
QemuAlternative way to build qemu with Neo 1973 emulation: # checkout source svn co https://svn.openmoko.org/trunk/src/host/qemu-neo1973 cd qemu-neo1973 # run configure ./configure --target-list=arm-softmmu --enable-gadgetfs # needed for gadgetfs to work ln -s /usr/src/linux/include/linux # build it make See alsoOther pages on this wiki about OpenMokoMy blog posts about OpenMoko
fetchrss: http://blog.rot13.org/mt/mt-search.cgi?tag=openmoko&Template=feed&IncludeBlogs=1
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> openocdx200:/virtual/openmoko# openocd Open On-Chip Debugger 0.4.0 (2010-02-23-17:04) Licensed under GNU GPL v2 For bug reports, read http://openocd.berlios.de/doc/doxygen/bugs.html trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain Info : clock speed 6000 kHz Info : JTAG tap: s3c2440.cpu tap/device found: 0x0032409d (mfg: 0x04e, part: 0x0324, ver: 0x0) Info : Embedded ICE version 2 Info : s3c2440.cpu: hardware has 2 breakpoint/watchpoint units Info : JTAG tap: s3c2440.cpu tap/device found: 0x0032409d (mfg: 0x04e, part: 0x0324, ver: 0x0) Warn : NOTE! DCC downloads have not been enabled, defaulting to slow memory writes. Type 'help dcc'. Warn : NOTE! Severe performance degradation without fast memory access enabled. Type 'help fast'. target state: halted target halted in ARM state due to debug-request, current mode: Supervisor cpsr: 0x20000053 pc: 0x33f966d8 MMU: disabled, D-Cache: enabled, I-Cache: enabled Info : accepting 'telnet' connection from 0 Runtime error, file "command.c", line 650: invalid command name "run" Info : JTAG tap: s3c2440.cpu tap/device found: 0x0032409d (mfg: 0x04e, part: 0x0324, ver: 0x0) Warn : NOTE! DCC downloads have not been enabled, defaulting to slow memory writes. Type 'help dcc'. Warn : NOTE! Severe performance degradation without fast memory access enabled. Type 'help fast'. |