**** BEGIN LOGGING AT Mon May 14 02:59:59 2012 May 14 11:48:34 while using UBIFS .... I m getting this error.... http://pastebin.mozilla.org/1638044 May 14 11:50:30 snkt: what device that is? May 14 11:51:21 PaulFertser, its an ARM based board with Corelogic SOC May 14 11:51:37 PaulFertser, Spica CLM7700 May 14 11:51:40 snkt: how are you creating and flashing the ubi image? May 14 11:53:41 PaulFertser, I have created default partition table in uboot...this is the log .... http://pastebin.mozilla.org/1638061 May 14 11:54:10 PaulFertser, flashed u-boot and kernel image through tftp May 14 11:54:39 PaulFertser, i vll show you the entire steps.... May 14 11:55:25 snkt: i mean you should pay _close_ attention to the erase block size when creating ubi filesystem. May 14 11:55:37 snkt: btw, are you porting SHR to it? May 14 11:56:05 PaulFertser, SHR means? May 14 11:56:27 snkt, the Spica is a samsung phone right? May 14 11:56:30 snkt: an OE-based distro for smartphones. May 14 11:57:15 GNUtoo-desktop, PaulFertser its an embedded hinClient May 14 11:57:19 thinClient May 14 11:58:06 GNUtoo-desktop I have made a patch, but it is 22.4 MB May 14 11:58:15 snkt: how are you creating the ubi image? May 14 11:58:57 PaulFertser, actually I have one more problem..... while flashing image on "rootfs" partition May 14 11:59:08 PaulFertser, i will post you the log May 14 12:03:30 ayaka, ok May 14 12:03:45 did you find something interesting in the patch? May 14 12:04:16 GNUtoo-desktop is there any keyword shall I search, maybe it is much easy May 14 12:04:39 PaulFertser, this are the steps.... http://pastebin.mozilla.org/1638072 ...... and I getting error while flashing ubi/jffs2 image on "rootfs" partition May 14 12:06:23 ayaka, try grepping for initrd and such or emmc May 14 12:06:29 or iniramfss May 14 12:06:59 snkt, what distro do you use May 14 12:07:14 in that case, I notice there is - noinitrd in patch May 14 12:09:46 snkt: it looks like you're not reading what i'm saying at all. May 14 12:15:05 but where is the src of initramfs function in kernel, I will check wether they are compiled May 14 12:23:10 PaulFertser, using mkfs.ubifs tools May 14 12:24:17 PaulFertser, mkfs.ubifs –r rootfs –m 2048 –e 126976 –c 950 -o rootfs.ubifs May 14 12:24:31 PaulFertser, ubinize -o rootfs.ubi -m 2048 -p 128KiB -s 2048 ubinize.cfg May 14 12:25:41 PaulFertser, and this is ubinize.cfg .... http://pastebin.mozilla.org/1638141 May 14 12:27:05 GNUtoo-desktop, OE Angstrom May 14 12:29:14 http://paste.debian.net/168731/ May 14 12:29:25 I notice that in kernel src May 14 12:31:49 are you aware that there are #oe and #angstrom channels? May 14 12:32:02 because we're specialized in smartphone in this channel May 14 12:32:25 beside you got some answer in #oe May 14 12:32:34 oh, sorry, thank you May 14 12:33:48 I will come to #oe May 14 12:34:36 ayaka: he was talking to snkt I think May 14 12:34:51 pabs3 oh, thank you May 14 12:35:11 so I can still ask this kernel problem here, can't I May 14 12:37:41 snkt: are you sure this matches your flash's erase block size? May 14 12:38:51 ayaka, yes I was talking to snkt May 14 12:39:30 ayaka, you're welcome in #openmoko-cdevel because it's a channel for smartphones and you're doing the port of debian on a smartphone May 14 12:39:30 I think it is my english problem, i am very sorry about that May 14 12:39:50 so please stay here May 14 12:41:04 ayaka, I see no code in what you pasted, only includes.... May 14 12:41:05 about mmc_blk_rq_issue, htc use a difderent function for sd, it is sd_blk_rq_issue May 14 12:41:20 PaulFertser, where do I check that..... According to datasheet (K9F1208U0C) ... Block erase (16K + 512)Bytes May 14 12:41:30 ah ok sorry May 14 12:41:33 +#include "zlib_inflate/inffast.c" May 14 12:41:35 strange May 14 12:42:10 GNUtoo-desktop oh, I just paste out the file name, I will paste the whole file May 14 12:42:42 PaulFertser, its a 64MB Nandflash May 14 12:44:46 htc version http://paste.debian.net/168734/ May 14 12:47:09 snkt: you need to learn more about NAND flashes and about proper parameters to mkfs.ubifs and ubinize. May 14 12:48:08 diff -Nurd linux-2.6.35.13/scripts/lib/decompress_inflate.c shooter_u-2.6.35-crc/scripts/lib/decompress_inflate.c May 14 12:48:17 it's in script directory May 14 12:48:45 PaulFertser, but I think there is some problem while using using "rootfs" partition... did you check that error at the end ... http://pastebin.mozilla.org/1638072 May 14 12:49:08 PaulFertser, NAND write to offset 4000000 failed -22 May 14 12:49:08 62898176 bytes written: ERROR May 14 12:50:06 snkt: yes, the error is worrying. But u-boot should use some "bad block table" or OOB data and mark bad blocks accordingly (and that should _exactly match_ the way Linux treats bad blocks on that flash). May 14 12:50:33 GNUtoo-desktop yes , and another place show noinitrd is kernel-paremeters.txt.orig , but I don't find it in my copy May 14 12:51:55 note that I've generated a diff too May 14 12:52:01 ok May 14 12:52:08 it's in Documentation May 14 12:52:40 my diff seem smaller than yours May 14 12:52:40 yes, in Documentation May 14 12:52:53 I've downloaded 2.6.35 tarball May 14 12:53:10 and diffed against the shooter tarball May 14 12:53:17 both extracted of course May 14 12:53:29 PaulFertser, how does all this process take place in U-boot? May 14 12:53:49 can you login a ssh,server,i will place my patch there May 14 12:54:41 ah I see decompress_inflate.c now May 14 12:54:59 no need I can publish my patch if you want May 14 12:55:56 yes, i want to you your patch, there is no doubt that you will do better than me May 14 12:56:37 maybe we did the same May 14 12:57:20 do you have the xz command? May 14 12:58:28 well my patch hasn't been compressed, but i can compressed it May 14 12:59:34 I mean for uncompressing my patch May 14 13:00:04 yes, I think I can May 14 13:00:19 http://gnutoo.homelinux.org/downloads/people/ayaka/shooter_u-2.6.35-crc.diff.xz May 14 13:02:41 GNUtoo-desktop can i msg you about the ssh user and paawd May 14 13:02:50 no need May 14 13:02:55 just download my patch and compare May 14 13:03:08 if you want May 14 13:03:15 but my patch is sufficent for me May 14 13:03:22 and I guess it's the same patch May 14 13:03:25 so.... May 14 13:04:24 ok, i see May 14 13:05:13 the same size, because I forget to clean the .config May 14 13:06:35 it seems you forget to patch the kernel patch May 14 13:06:55 the one behind the normal tar.gz May 14 13:06:55 ah? May 14 13:07:19 http://www.kernel.org/pub/linux/kernel/v2.6/longterm/v2.6.35/patch-2.6.35.13.bz2 May 14 13:07:30 ah it's not a bare 35? May 14 13:08:31 no,shooteru is produced in 2012 May 14 13:08:38 ok May 14 13:08:54 it must based on the patched kernel May 14 13:09:33 next time I should remember to look at the Makefile May 14 13:09:34 by this time, do you need my patch for saving time May 14 13:09:39 no May 14 13:09:50 I'll re-do it when I'll have some time May 14 13:09:57 I must fix a compilation problem right now May 14 13:10:22 then good bye, I will you can fix it May 14 13:10:32 wosh May 14 13:10:33 wish May 14 13:10:37 ok May 14 13:11:10 I will read you patch and my patch May 14 15:40:17 SHR: 03Martin.Jansa 07shr-chroot * r96b4760da1ff 10/ (175 files in 20 dirs): system upgrade May 15 02:54:53 hmm I got a weird email from sean **** ENDING LOGGING AT Tue May 15 02:59:59 2012