[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Linux/m68k on Atari



Le Sun, 12 Apr 2009 07:03:03 +0200 (CEST)
Michael Schmitz <schmitz@biophys.uni-duesseldorf.de> a _crit:

> > Note: I blindly guessed the time for FastRam, as I get a black screen,
> > but I was able to login and type reboot, so the console was ready. I
> > suppose it's the problem of atafb screen being wrongly allocated in
> > FastRam. I still did not manage to get serial console working, which
> 
> Thanks for testing this - sounds hopeful indeed. 
> 
> Entirely possible. I'll have to look at the code but I suspect having the 
> kernel in FastRAM will make that chunk come mapped at 0x0 virtual, and be the 
> first in the memory bootinfo list. 
> 
> I'll have a look at this. 
> 
> > I'll need if someone fixes this atafb problem and I want to test the
> > fix.
> 
> Serial console is not more than directing output at SCC channel B, so no login 
> on the serial interface if you use serial console. You'd have to compile in the 
> SCC driver and have init run a getty process on the serial line if you want to 
> use serial for login. 
>  
> A successful fix for the atafb problem should manifest itself by showing the 
> boot process on the screen :-) 

OK, I was able to setup debug through serial console, using
$ minicom -o -c on
and adding
debug=ser console=tty0 console=ttyS0,9600n8
in kernel command line

[    0.000000] atari_stram pool, start=00373210, end=003f320f
...
[42949373.840000] atafb_init: start
[42949373.850000] atafb_init: initializing Falcon hw
[42949373.860000] atari_stram_alloc(size=00011000,owner=atafb)
[42949373.870000] atari_stram_alloc: after mem_init, find_free_Stram=00373210
[42949373.880000] atafb: screen_base 00374000 real_screen_base 00374000 screen_6

>From this log, it appears the fb is correctly allocated from ST-Ram,
but I fail to see why I have a black screen.

[42949374.080000] SCC: Atari Falcon Serial Driver
[42949374.090000] SCC: already initialized, expect trouble!

I suppose it's already initialized because of serial debugging?

[42949377.980000] SCC: open port done!

This is logged hundred of times.

I installed the m68k-linux-gnu cross-gcc and binutils, so I can cross-compile
a kernel myself. I just need to have the kernel config file you used to build
2.6.26, plus some hints :-). 

-- 
Patrice Mandin
WWW: http://pmandin.atari.org/
Programmeur Linux, Atari
Spécialité: Développement, jeux



Reply to: