Ticket #32 (reopened enhancement)

Opened 3 years ago

Last modified 13 months ago

x500

Reported by: grig27 Owned by: grig27
Priority: major Milestone:
Component: linux-kernel Version:
Keywords: Cc:

Description (last modified by bberto) (diff)

I am probe started linux kernel on glufiish x500.

I have patch for this machine. Started from Haret 0.5.2. After start kernel not founded ramdisk (i am not use sd card).

Kernel started, and initrd mounted!

See config.rar

It this time i am make worked initrd

I am started xserver and window manager. Touchscreen not work correct.

A am started kernel with initrd and mount rootfs from image file ext2 partiton from sdcard.

Attachments

3.zip Download (13.7 KB) - added by grig27 3 years ago.
config.rar Download (11.9 KB) - added by grig27 3 years ago.
initrd_1.gz Download (6.5 MB) - added by grig27 3 years ago.
zImage Download (1.5 MB) - added by grig27 3 years ago.
gnufiish-x500.patch Download (24.2 KB) - added by undef 2 years ago.
alternative realization of X500 support for current (Feb 22, 2010) branch

Change History

  Changed 3 years ago by grig27

  • component changed from component2 to linux-kernel

Changed 3 years ago by grig27

  Changed 3 years ago by grig27

  • owner changed from somebody to grig27

  Changed 3 years ago by grig27

  • description modified (diff)

Changed 3 years ago by grig27

  Changed 3 years ago by grig27

  • status changed from new to closed
  • resolution set to fixed

  Changed 3 years ago by morphis

  • type changed from defect to enhancement

Great work. I will check the code and then we can commit it to the repository if everybody else agrees. Already noticed our mailinglist?

  Changed 3 years ago by grig27

I am not found mailinglist... Where it?

  Changed 3 years ago by grig27

I am founded mailinglist.

  Changed 3 years ago by grig27

  • description modified (diff)

follow-up: ↓ 11   Changed 3 years ago by grig27

I am not create root password. I am found worked initrd, but not logined into system from ssh.

/etc/passwd file - root:*:0:0:root:/home/root:/bin/sh daemon:*:1:1:daemon:/usr/sbin:/bin/sh bin:*:2:2:bin:/bin:/bin/sh sys:*:3:3:sys:/dev:/bin/sh sync:*:4:65534:sync:/bin:/bin/sync games:*:5:60:games:/usr/games:/bin/sh man:*:6:12:man:/var/cache/man:/bin/sh lp:*:7:7:lp:/var/spool/lpd:/bin/sh mail:*:8:8:mail:/var/mail:/bin/sh news:*:9:9:news:/var/spool/news:/bin/sh uucp:*:10:10:uucp:/var/spool/uucp:/bin/sh proxy:*:13:13:proxy:/bin:/bin/sh www-data:*:33:33:www-data:/var/www:/bin/sh backup:*:34:34:backup:/var/backups:/bin/sh list:*:38:38:Mailing List Manager:/var/list:/bin/sh irc:*:39:39:ircd:/var/run/ircd:/bin/sh gnats:*:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/bin/sh nobody:*:65534:65534:nobody:/nonexistent:/bin/sh

How to create password to root user...

Initrd attached.

Changed 3 years ago by grig27

Changed 3 years ago by grig27

  Changed 3 years ago by grig27

  • status changed from closed to reopened
  • resolution fixed deleted

in reply to: ↑ 9   Changed 3 years ago by grig27

Replying to grig27:

I am not create root password. I am found worked initrd, but not logined into system from ssh. /etc/passwd file - root:*:0:0:root:/home/root:/bin/sh daemon:*:1:1:daemon:/usr/sbin:/bin/sh bin:*:2:2:bin:/bin:/bin/sh sys:*:3:3:sys:/dev:/bin/sh sync:*:4:65534:sync:/bin:/bin/sync games:*:5:60:games:/usr/games:/bin/sh man:*:6:12:man:/var/cache/man:/bin/sh lp:*:7:7:lp:/var/spool/lpd:/bin/sh mail:*:8:8:mail:/var/mail:/bin/sh news:*:9:9:news:/var/spool/news:/bin/sh uucp:*:10:10:uucp:/var/spool/uucp:/bin/sh proxy:*:13:13:proxy:/bin:/bin/sh www-data:*:33:33:www-data:/var/www:/bin/sh backup:*:34:34:backup:/var/backups:/bin/sh list:*:38:38:Mailing List Manager:/var/list:/bin/sh irc:*:39:39:ircd:/var/run/ircd:/bin/sh gnats:*:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/bin/sh nobody:*:65534:65534:nobody:/nonexistent:/bin/sh How to create password to root user... Initrd attached.

I am insert hash password from my Debian. All the work.

  Changed 3 years ago by grig27

Where get MC(midnigth commander) to arm linux? Compile?

  Changed 3 years ago by morphis

What with the SHR image for the M800? Does it work? You find it here:  http://build.shr-project.org/shr-unstable/images/eten-m800/ Only exchange the module with your module for the X500.

  Changed 3 years ago by grig27

Thanks you big. I will necessarily try. One more question. At present a kernel compiled only with support of file system ext2, the others modules. If except ext2 still to add other systems initrd it is not perceived. Interestingly why so?

  Changed 3 years ago by grig27

What to need for run kernel + initrd?

ext2 - buildin ramdisk - buildin initrd support - buildin

It is all?

  Changed 3 years ago by grig27

I am started xserver and window manager. Correct ARGS for start and change -mouse parametr to /dev/input/touchscreen0 or /dev/input/event0, mouse position randomly changed...

A am started kernel with initrd and mount rootfs from image file ext2 partiton.

MC (midnigth commander) correct compiled for ARM and start on X500!

  Changed 3 years ago by grig27

Run command cat /dev/input/touchscreen0 output data changed on touch or move touchscreen position.

Nided configure tsfilter?

  Changed 3 years ago by grig27

How to right add gpl string to src?

  Changed 3 years ago by grig27

  • description modified (diff)

  Changed 3 years ago by grig27

  • description modified (diff)

follow-up: ↓ 23   Changed 2 years ago by hTonus

  • priority changed from major to trivial
  • description modified (diff)
  • summary changed from x500 to x500+

  Changed 2 years ago by bberto

  • priority changed from trivial to major
  • description modified (diff)
  • summary changed from x500+ to x500

in reply to: ↑ 21   Changed 2 years ago by bberto

reverted hTonus changes in ticket description. hTonus, please use comments...

follow-up: ↓ 25   Changed 2 years ago by bberto

hi grig27! you've made a great job! I'm able to run your attached zImage over my M700 (same arch of X500)

However, I applied your patch to gnufiish git tree and compiled it with attached .config, but it doesn't works on the device!

Did you change anything to your config file to obtain that zImage? Could you post the working config file?

Thanks!

in reply to: ↑ 24   Changed 2 years ago by grig27

Replying to bberto:

it with attached .config, but it doesn't works on the device!

Please say, in this config no compile or error work : blank screen, not mount zImage?

  Changed 2 years ago by bberto

blank screen!

i had a small compile issue, about s3c_device_spi_lcm double reference... fixed renaming the struct in your mach-x500.c

  Changed 2 years ago by grig27

Please compare this parametrs

+/* LCD driver info */ + +static struct s3c2410fb_display M700_lcd_cfg initdata = { + /*.lcdcon1 = S3C2410_LCDCON1_CLKVAL(0x04) | + S3C2410_LCDCON1_TFT | + S3C2410_LCDCON1_TFT16BPP,*/ + + /*.lcdcon2 = S3C2410_LCDCON2_VBPD(5 upper_margin) | + S3C2410_LCDCON2_LINEVAL(319 yres) | + S3C2410_LCDCON2_VFPD(6 lower_margin) | + S3C2410_LCDCON2_VSPW(1 vsync_len),*/ + + /*.lcdcon3 = S3C2410_LCDCON3_HBPD(4 right_margin) | + S3C2410_LCDCON3_HOZVAL(239 xres) | + S3C2410_LCDCON3_HFPD(7 left_margin),*/ + + /*.lcdcon4 = S3C2410_LCDCON4_MVAL(0) | + S3C2410_LCDCON4_HSPW(2 hsync_len),*/ + + .lcdcon5 = S3C2410_LCDCON5_FRM565 | + S3C2410_LCDCON5_INVVCLK | + S3C2410_LCDCON5_INVVLINE | + S3C2410_LCDCON5_INVVFRAME | + S3C2410_LCDCON5_INVVDEN | + S3C2410_LCDCON5_PWREN | + S3C2410_LCDCON5_HWSWP, + + .type = S3C2410_LCDCON1_TFT, + + .width = 240, + .height = 320, + + .pixclock = 166667, /* HCLK 60 MHz, divisor 10 */ + .xres = 240, + .yres = 320, + .bpp = 16, + + .left_margin = 8, + .right_margin = 5, + .hsync_len = 3, + .upper_margin = 6, + .lower_margin = 7, + .vsync_len = 2, +}; + +static struct s3c2410fb_mach_info M700_fb_info initdata = { + .displays = &M700_lcd_cfg, + .num_displays = 1, + .default_display = 0, + +#if 1 + + .gpccon = 0x56000020, + .gpccon_mask = 0xffffffff, + .gpcup = 0x56000028, + .gpcup_mask = 0xffffffff, + .gpdcon = 0x56000030, + .gpdcon_mask = 0xffffffff, + .gpdup = 0x56000038, + .gpdup_mask = 0xffffffff, +#endif + + .lpcsel = 0xCE6, +}; + s3c2410fb_mach_info - this is main structure. I not think how this change or find for different machine...

  Changed 2 years ago by bberto

I tried to use the parameters adding them to x500_displays[] and modifying x500_lcd_cfg, but still no luck.

It's frustrating cause the binary zImage you attached to this ticket works very well! I'd appreciate if you can send me any code/patch you have to roberto84 at email dot it so I can make other tries...

  Changed 2 years ago by grig27

All code into  ftp://www.rkad.ru

  Changed 2 years ago by grig27

  Changed 2 years ago by grig27

Sorry for disorder... Once disassemble. Too much work.

  Changed 2 years ago by Zippo

You did a great job! But I still cant understand how to run Linux on my x500+. Is there a kind of "10 easy steps to start Linux on your x500+" manual?

  Changed 2 years ago by grig27

Changed 2 years ago by undef

alternative realization of X500 support for current (Feb 22, 2010) branch

  Changed 13 months ago by resetnow

Hello, can anyone upload zImage for x500 compiled with the last path? i'm trying to run android on my device, but for now there is a problem with sd card mounting.

 http://forum.androidfan.ru/index.php?showtopic=6145

I use XDAndroid with some zImage requires this haret config:

set MTYPE 0x664 set RAMADDR 0x30000000 set RAMSIZE 0x4000000

it starts, but stops with tsid error:

http://i14.fastpic.ru/thumb/2011/0103/19/d869c8258b492226ff8444f334614719.jpeg  http://fastpic.ru/view/14/2011/0103/d869c8258b492226ff8444f334614719.jpg.html

I tried to make kernel from source

mkdir kernel git clone  git://git.openezx.org/gnufiish.git kernel cd kernel patch -p1 < glofiish_x500.patch make [target?]

but i don't know, what the target i must use to build kernel. so, i have two quetions can anyone build the last kernel from here with patch? what are MTYPE, RAMADDR, RAMSIZE for the zImage attached to this ticket?

Note: See TracTickets for help on using tickets.