Hi, I found out more about my problem. Robert Schuster schrieb: > Do I need to modify something else? Is something wrong with the changes > I made? I need to make the rootfs' flash partition bigger. Since another 64 MiB are available I thought it would be ok to add 0x4000000 to the current rootfs' partition size.
All the needed changes are in the attached patch. I can put a 'normal' sized rootfs on this flash and boot the OS without problems. "df -h /" tells me that the rootfs is now ~120 MiB in size. Still flashing a big image with uboot's nand.write fails and I dont know what else might be wrong. Regards Robert -- tarent Gesellschaft für Softwareentwicklung und IT-Beratung mbH Heilsbachstr. 24, 53123 Bonn | Poststr. 4-5, 10178 Berlin fon: +49(228) / 52675-0 | fon: +49(30) / 27594853 fax: +49(228) / 52675-25 | fax: +49(30) / 78709617 durchwahl: +49(228) / 52675-17 | mobil: +49(171) / 7673249 Geschäftsführer: Boris Esser, Elmar Geese, Thomas Müller-Ackermann HRB AG Bonn 5168 Ust-ID: DE122264941
Index: openmoko/trunk/src/host/qemu-neo1973/hw/neo1973.c
===================================================================
--- openmoko.orig/trunk/src/host/qemu-neo1973/hw/neo1973.c 2007-08-07 23:40:37.000000000 +0200
+++ openmoko/trunk/src/host/qemu-neo1973/hw/neo1973.c 2007-08-07 23:57:27.000000000 +0200
@@ -427,7 +427,7 @@
}
s->cpu = s3c2410_init(s->ram, ds);
- s3c_nand_register(s->cpu, nand_init(NAND_MFR_SAMSUNG, 0x76));
+ s3c_nand_register(s->cpu, nand_init(NAND_MFR_SAMSUNG, 0x79));
/* Setup peripherals */
neo_gpio_setup(s);
Index: openmoko/trunk/src/host/qemu-neo1973/openmoko/Makefile
===================================================================
--- openmoko.orig/trunk/src/host/qemu-neo1973/openmoko/Makefile 2007-08-08 00:45:56.000000000 +0200
+++ openmoko/trunk/src/host/qemu-neo1973/openmoko/Makefile 2007-08-08 00:45:26.000000000 +0200
@@ -55,8 +55,9 @@
cat .512sec .512sec .512sec .512sec > .2ksec
cat .2ksec .2ksec .2ksec .2ksec .2ksec .2ksec .2ksec .2ksec > .16ksec
# Neo NAND is 128k sectors big
- cat .16ksec .16ksec .16ksec .16ksec .16ksec .16ksec .16ksec .16ksec > $@
- rm -rf .8b .16b .512b .sec .8sec .64sec .512sec .2ksec .16ksec
+ cat .16ksec .16ksec .16ksec .16ksec .16ksec .16ksec .16ksec .16ksec > .128ksec
+ cat .128ksec .128ksec > $@
+ rm -rf .8b .16b .512b .sec .8sec .64sec .512sec .2ksec .16ksec .128ksec
$(FLASHOVERLAY): $(FLASHIMG)
../qemu-img create -b $^ -f qcow2 $@
Index: openmoko/trunk/src/host/qemu-neo1973/openmoko/flash.sh
===================================================================
--- openmoko.orig/trunk/src/host/qemu-neo1973/openmoko/flash.sh 2007-08-08 00:46:50.000000000 +0200
+++ openmoko/trunk/src/host/qemu-neo1973/openmoko/flash.sh 2007-08-08 01:36:09.000000000 +0200
@@ -106,7 +106,7 @@
setenv menu_3 'Power off: neo1973 power-off'
setenv splashimage 'nand read.e $splash_addr splash $splash_size; unzip $splash_addr 0x33d00000 0x96000'
setenv mtdids nand0=neo1973-nand
-setenv mtdparts mtdparts=neo1973-nand:0x00050000(u-boot),0x00004000(u-boot_env),0x00208000(kernel),0x00010000(splash),0x039a4000(rootfs)
+setenv mtdparts mtdparts=neo1973-nand:0x00050000(u-boot),0x00004000(u-boot_env),0x00208000(kernel),0x00010000(splash),0x079a4000(rootfs)
#dynpart
nand write.e $kernel_addr u-boot $uboot_size
dynenv set u-boot_env
signature.asc
Description: OpenPGP digital signature

