Re: [Zaurus-devel] 2.6.39-rc2 on zaurus: does not build, does not boot

2011-04-08 Thread Martin Jansa
On Fri, Apr 08, 2011 at 09:31:10AM +0200, Marek Vasut wrote:
 On Friday 08 April 2011 08:26:46 Pavel Machek wrote:
  Hi!
  
  Build fix is below. Maybe it is pending in the trees somewhere
  already...
 
 Fix is already there, it was broken by a patch from someone recently. Thanks 
 though
  
  Boot stops just after mounting root filesystem; cursor stops
  flashing. (Any idea what goes on there?)
 
 No idea, it works for me and doesn't hang ;-)

it works here too with rev 6221f222c0ebf1acdf7abcf927178f40e1a65e2a

Cheers,

-- 
Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com


pgpQFe47UWDu4.pgp
Description: PGP signature
___
Zaurus-devel mailing list
Zaurus-devel@lists.linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/zaurus-devel


Re: [Zaurus-devel] zaurus spitz 2.6.3* .config

2010-10-28 Thread Martin Jansa
On Thu, Oct 28, 2010 at 03:25:20PM +0200, Franck L wrote:
 Hi Martin :)
 
 On Wed, Oct 27, 2010 at 08:50:52AM +0200, Martin Jansa wrote :
  On Tue, Oct 26, 2010 at 09:36:05AM +0200, Pavel Machek wrote:
   Hi!
   
  
  I had similar problem before (1st stage kernel linux-kexecboot didn't
  boot at all, but similar config worked fine as 2nd stage kernel started
  by kexec).
  
  I guess you forgot to enable
  CONFIG_PXA_SHARPSL_DETECT_MACH_ID=y
  
  which was disabled by default (after make oldconfig) and is needed only
  for 1st stage kernel.
  
 you were right, this was UNSET in the attempt i made to build the 2.6.36
 kernels...
 
i may provide you my buggy .config, but i think there is no interest.
tell me if you want.

so, i wondered if you could give me one of your last .config for the
latest kernel that works, in order that i could try to create a debian
environment for my zaurus.
  
  we also have working spitz config in OE repo
  http://git.openembedded.org/cgit.cgi/openembedded/tree/recipes/linux/linux-2.6.36
  
 i tried to go see overthere you config, but i had no right to go :

no all files are public there, just use right method to fetch those :).

 Mode  NameSize
 d-spitz   37  log
 
 maybe i missed something ? using git to go there, and not normal http
 ?

this was link to web interface of OE git repo where this file is
http://git.openembedded.org/cgit.cgi/openembedded/plain/recipes/linux/linux-2.6.36/spitz/defconfig

or you can git clone whole repo if you really want to
git clone git://git.openembedded.net/openembedded

Regards,
-- 
Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com

___
Zaurus-devel mailing list
Zaurus-devel@lists.linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/zaurus-devel


Re: [Zaurus-devel] zaurus spitz 2.6.3* .config

2010-10-27 Thread Martin Jansa
On Tue, Oct 26, 2010 at 09:36:05AM +0200, Pavel Machek wrote:
 Hi!
 
  i actually trying to create a debian system for my borzoi. since the
  rootfs from which i start is old (created with a kernel 2.6.24),
  trying to upgrade the sid system leads to a problem with udev (needs at
  least kernel 2.6.26).
  i try creating .config for 2.6.27.54 and 2.6.36 kernel.
  for the moment, both fails
  (dmesg from load with the 2.6.27.54 :
  http://pastebin.com/MCxK8akv: seems that there is a problem with
  i2c...)
  
  for 2.6.36 i builded, nothing starts but the harddrive (?) which i may
  hear turn, but the screen doesn't up, nothing seems to respond.

I had similar problem before (1st stage kernel linux-kexecboot didn't
boot at all, but similar config worked fine as 2nd stage kernel started
by kexec).

I guess you forgot to enable
CONFIG_PXA_SHARPSL_DETECT_MACH_ID=y

which was disabled by default (after make oldconfig) and is needed only
for 1st stage kernel.

  i may provide you my buggy .config, but i think there is no interest.
  tell me if you want.
  
  so, i wondered if you could give me one of your last .config for the
  latest kernel that works, in order that i could try to create a debian
  environment for my zaurus.
 
 I can provide you with spitz config; it works, modulo wifi... No
 borzoi here...
   Pavel

we also have working spitz config in OE repo
http://git.openembedded.org/cgit.cgi/openembedded/tree/recipes/linux/linux-2.6.36

-- 
Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com

___
Zaurus-devel mailing list
Zaurus-devel@lists.linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/zaurus-devel


Re: [Zaurus-devel] [regression] 2.6.34-rc1 to -rc3 on zaurus: no longer boots

2010-04-08 Thread Martin Jansa
On Thu, Apr 08, 2010 at 01:05:32PM +0200, Pavel Machek wrote:
 
   I tried compiling 2.6.34-rc1, and it does not boot :-(. It does 
   not
   seem to even reset the framebuffer (I'm using kexec -- so it 
   stays
   stuck on on previous screen).

 Tried again with -rc2 and -rc3, and neither boots :-(. I did not have
 time to set up serial console, yet :-(. Any ideas?
   
I created a Bugzilla entry at
https://bugzilla.kernel.org/show_bug.cgi?id=15712
for your bug report, please add your address to the CC list in there,
 thanks!
   
   Pavel, you broke it ... and here you say something about sane arm 
   maintainers
   ;-)
  
   ? You know which patch causes it ?
  
  Just have some time to try this out on my corgi, and the kernel runs
  happily.
  
  Pavel,
  
  Which exact model are you running your kernel?
 
 It is Zaurus SL-C3000 (aka spitz). I'm using kexec, but that used to
 work. Should I try minimal config?
   Pavel

FYI:

I've just booted on my spitz 2.6.34-rc3 built with OE (config from Andrea), 
then kexec to 2.6.33.
http://git.openembedded.org/cgit.cgi/openembedded/commit/?id=adadb0343015894e33032b53d87e3e03a368a594

��Linux version 2.6.34-rc3 (bitb...@jama) (gcc version 4.3.3 (GCC) ) #1 Wed Apr 
7 09:53:53 CEST 2010
CPU: XScale-PXA270 [69054114] revision 4 (ARMv5TE), cr=397f 

CPU: VIVT data cache, VIVT instruction cache

Machine: SHARP Spitz 
Ignoring unrecognised tag 0x 
Memory policy: ECC disabled, Data cache writeback
Run Mode clock: 208.00MHz (*16) 
Turbo Mode clock: 416.00MHz (*2.0, active)
Memory clock: 208.00MHz (/2)
System bus clock: 208.00MHz 
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: console=tty1 console=ttyS0,115200n8 fbcon=rotate:1
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 62256k/62256k available, 3280k reserved, 0K highmem
Virtual kernel memory layout:
vector  : 0x - 0x1000   (   4 kB)
fixmap  : 0xfff0 - 0xfffe   ( 896 kB)
DMA : 0xffc0 - 0xffe0   (   2 MB)
vmalloc : 0xc480 - 0xe800   ( 568 MB)
lowmem  : 0xc000 - 0xc400   (  64 MB)
modules : 0xbf00 - 0xc000   (  16 MB)
  .init : 0xc0008000 - 0xc007c000   ( 464 kB)
  .text : 0xc007c000 - 0xc027d000   (2052 kB)
  .data : 0xc027e000 - 0xc02970e0   ( 101 kB)
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:288
start_kernel(): bug: interrupts were enabled early
Console: colour dummy device 80x30
console [tty1] enabled
Calibrating delay loop... 415.33 BogoMIPS (lpj=2076672)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
devtmpfs: initialized
Sharp Scoop Device found at 0x1080 - 0xc4814000
Sharp Scoop Device found at 0x08800040 - 0xc4818040
bio: create slab bio-0 at 0
I2C: i2c-0: PXA I2C adapter
Switching to clocksource oscr0
Switched to NOHz mode on CPU #0
JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
msgmni has been set to 121
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
io scheduler noop registered
io scheduler deadline registered (default)
Console: switching to colour frame buffer device 80x30
pxa2xx-uart.0: ttyS0 at MMIO 0x4010 (irq = 22) is a FFUART
console [ttyS0] enabled
pxa2xx-uart.1: ttyS1 at MMIO 0x4020 (irq = 21) is a BTUART
pxa2xx-uart.2: ttyS2 at MMIO 0x4070 (irq = 20) is a STUART
loop: module loaded
Uniform Multi-Platform E-IDE driver
ide-gd driver 1.18
physmap platform flash device: 0080 at 
RedBoot partition parsing not available
Using physmap partition information
Creating 1 MTD partitions on physmap-flash:
0x0014-0x0080 : Boot PROM Filesystem
NAND device: Manufacturer ID: 0xec, Chip ID: 0x73 (Samsung NAND 16MiB 3,3V 
8-bit)
Scanning device for bad blocks
Creating 3 MTD partitions on sharpsl-nand:
0x-0x0070 : System Area
0x0070-0x00c0 : Root Filesystem
0x00c0-0x0100 : Home Filesystem
mice: PS/2 mouse device common for all mice
input: matrix-keypad as /devices/platform/matrix-keypad/input/input0
ads7846 spi2.0: touchscreen, irq 107
input: ADS7846 Touchscreen as /devices/platform/pxa2xx-spi.2/spi2.0/input/input1
APM Battery Driver
CAUTION: XScale iWMMXt coprocessor detected, but kernel support is missing.

Re: [Zaurus-devel] 2.6.33-rc1: good news

2010-01-12 Thread Martin Jansa
On Wed, Jan 13, 2010 at 12:08:05AM +0100, Stanislav Brabec wrote:
 Martin Jansa wrote:
  On Tue, Jan 12, 2010 at 01:36:31PM +0100, Stanislav Brabec wrote:
  
   Note: I sent a patch to the kernel that fixes PROM layout and introduces
   two partitions in PROM: Boot PROM System and EN-JP DB3.
  
  With 2.6.32-rc3 I don't see that 2nd PROM partition and didn't noticed
  any special Kconfig option for that (in case someone wanted to make your
  change optional)
 
 Patch was not yet applied. You can apply it from the list. Maybe I will
 re-send and add config option.

Yes config option could be usefull for those depending on same mtd
numbering as was in older kernels.

 In fact, the partition called Boot PROM Filesystem is a DB3 file that
 contains English-Japanese dictionary. I guess that there is no Boot PROM
 Filesystem, but a bootloader. It is invisible in current kernels.

With your patch and physmap in kernel its as expected
dev:size   erasesize  name
mtd0: 0070 0080 Boot PROM System
mtd1: 006c 0080 EN-JP Data File
mtd2: 0070 4000 smf
mtd3: 0050 4000 root
mtd4: 0040 4000 home

ANG r...@zjama ~ $ dd if=/dev/mtdblock1 of=en-jp.dict.dbf bs=1024
6912+0 records in
6912+0 records out

Lets see if I can learn JP a bit from it :).

 I can only guess why designers decided to place translation dictionary
 to the fast and expensive mask-programmable PROM.

-- 
uin:136542059jid:martin.ja...@gmail.com
Jansa Martin sip:jama...@voip.wengo.fr 
JaMa 

___
Zaurus-devel mailing list
Zaurus-devel@lists.linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/zaurus-devel