Dobrica Pavlinušić's random unstructured stuff
OpenMoko: Revision 13
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> |