| Poster | Thread |
virgolamobile
|  |
Re: Installing SAM460 linux-debian (trying) Posted on 27-Jan-2013 21:27:59
| | [ #21 ] |
|
|
 |
Regular Member  |
Joined: 23-Feb-2004 Posts: 192
From: Somewhere in Northern Italy | | |
|
| @jabirulo
Please, note that when I built that Debian Squeeze and its kernel 334 everybody was using a RadeonHD 4xxx so I didn't mind about other cards. This shouldn't create problems in the FB (frame buffer) only kernel. Otherwise you shouldn't be able to use the 334 DRM kernel with the RadeonHD 6xxx as it does not contain the firmware for these cards.
Quote:
Wait a minute, you are saying that you reached step 4, so was you able to boot the iso cd and follow the installation procedure? You did so using a RadeonHD 6xxx?
Quote:
Where exactly the Sam460 become stuck? When you try to boot after the installation procedure is finished? I don't know how the file "a1boot.conf" is configured, the Parthenope uses the file "menu.lst" and I'm using the following parameters with it:
title Ubuntu kernel /boot/uImage3427drm root=/dev/sda6 console=ttyS0,115200 dtb /boot/canyonlands.dtb By adding "console=ttyS0,115200" and not "console=tty0" I force the kernel to use the serial output, this should at least make something appearing from your serial console. Please let me know if this helps.
Quote:
| I dont have ub2lb on HDD, still using slb_v2 |
Keep in mind that if you keep slb_v2 you can format your Linux partition only with ext2. If you use Parthenope you can use the ext3 filesystem which is much more robust in my experience.Last edited by virgolamobile on 27-Jan-2013 at 09:43 PM. Last edited by virgolamobile on 27-Jan-2013 at 09:42 PM. Last edited by virgolamobile on 27-Jan-2013 at 09:39 PM.
|
|
| Status: Offline |
|
|
jabirulo
|  |
Re: Installing SAM460 linux-debian (trying) Posted on 27-Jan-2013 21:58:29
| | [ #22 ] |
|
|
 |
Regular Member  |
Joined: 20-Jun-2004 Posts: 370
From: Donosti (GUIPUZCOA) | | |
|
| @virgolamobile
The installation went fine (using a serial terminal). I can go thru all steps. I have HD6750, nothing is shown on that screen, on the SM502 I see the linux (tux) logo, and pressing CTRL+ALT+F4 I see the installation output.
YES ISO CD booted fine I install (using the net/server ftp.debian.es, I'm from Spain) all components without error/problem.
Then I copy the uImage344* files, canyonlands.dtb, and 3.3.4-Sam460ex drawer Can even mount my ext2 lnx partition under OS4): LNX:lib/modules/ 3.3.4-Sam460ex (dir) kernel (dir) crypto (dir) aes_generic.ko ecb.ko fs (dir) ntfs (dir) ntfs.ko ..
my a1boot.conf (will try with console=ttyS0,115200n8), LNX:boot/a1boot.conf (one line per entry):
kernel_334fb /boot/uImage334fb root=/dev/sda1 console=tty0 dtb=/boot/canyonlands.dtb kernel_334drm /boot/uImage334drm root=/dev/sda1 console=tty0 dtb=/boot/canyonlands.dtb #
I know that slb_v2 only knows ext2, but my main OS41_SYS: is sfs2 (ub2lb only supports SFS), that's why I'm staying with slb_v2
I get the normal uboot menu with my kicklayout menu plus 3.kernel_334fb 4.kernel_334drm
Just tried 3.kernel_334fb it outputs: Loading uImage334fb OK. .. Uncompressing OK.
but nothing more, nothing in SM502 and nothing in HD6750 (and nothing in serial), it stays there. Will make some more test tomorrow. TIALast edited by jabirulo on 27-Jan-2013 at 10:04 PM. Last edited by jabirulo on 27-Jan-2013 at 10:03 PM. Last edited by jabirulo on 27-Jan-2013 at 10:02 PM.
|
|
| Status: Offline |
|
|
Spectre660
 |  |
Re: Installing SAM460 linux-debian (trying) Posted on 27-Jan-2013 22:26:11
| | [ #23 ] |
|
|
 |
Elite Member  |
Joined: 4-Jun-2005 Posts: 3918
From: Unknown | | |
|
| @virgolamobile
I did a fresh install using a Radeon HD 6670 and the 3.4.24 FB Kernel. My boot partition were I have the kerneland modules etc is SFS/00 . I used the following for a Base install and had initial console output on the SM502 monitor.
title Debian Squeeze installer - Gnome kernel /install/uImage3424fb root=/dev/ram console=ttyS0,115200n console=tty0 dtb /install/canyonlands.dtb initrd /install/uRamdiskSqueeze
With this I got the Installer output in the correct colours on the Windows XP term. I then Installed Gnome system same way. The X system would not start and the console output is still via the Windows XP term program . So back to where I was after my first install and changing from a Radeon HD4850 to a Radeon HD6670 . _________________ Sam460ex : Radeon Rx550 Single slot Video Card : SIL3112 SATA card |
|
| Status: Offline |
|
|
SinanG
|  |
Re: Installing SAM460 linux-debian (trying) Posted on 28-Jan-2013 0:07:18
| | [ #24 ] |
|
|
 |
Regular Member  |
Joined: 24-Dec-2004 Posts: 334
From: Unknown | | |
|
| @Trevor
Is it possible for X1000 linux distro-maintainer to share his knowledge about RadeonHD cards with virgoaomobile for Sam460 ?
_________________ AmigaOS4 Beta-Tester ---------------------------------- Amiga X5000 8GB Radeon RX 560 Amiga A1222 2GB Radeon RX 550 Sam 460 2GB RadeonRX 550 |
|
| Status: Offline |
|
|
jabirulo
|  |
Re: Installing SAM460 linux-debian (trying) Posted on 28-Jan-2013 18:36:49
| | [ #25 ] |
|
|
 |
Regular Member  |
Joined: 20-Jun-2004 Posts: 370
From: Donosti (GUIPUZCOA) | | |
|
| @jabirulo
OK changed slb_v2 to ub2lb, now it loads fine linux/debian seems slb_v2 (a1boot.conf) doesn't like (or I don't know how to) 2 files/kernels/archive to load: 1st uimageXX and 2nd canyonlands.dtb.
I get output on SM502 vga, but X windows shows an error telling Xorg couldn't load. CTRL+ALT+F1 (or F4) shows on SM502 vga text terminal that I can use. Nothing on HD6750 vga, tried with uimage3242, but the same, SM502 vga tells X windows (Xorg) has a problem and fails to load.
I have /var/log/Xorg.0.log if its of some help. Maybe I just have to edit Xorg.conf (don't know where it is, or what the real name) and tell I'm using HD6750 in: (--) PCI:*(1:129:0:0) 1002:6759:174b:e193 ATI Technologies Inc NI Turks [AMD Radeon HD 6500] rev 0, Mem @ 0x80000000/268435456, 0x98000000/
Someone can enlight me how to manually change such value (and where).
TIA
|
|
| Status: Offline |
|
|
Spectre660
 |  |
Re: Installing SAM460 linux-debian (trying) Posted on 28-Jan-2013 20:09:22
| | [ #26 ] |
|
|
 |
Elite Member  |
Joined: 4-Jun-2005 Posts: 3918
From: Unknown | | |
|
| @jabirulo
After my reinstall It still works ok with a Radeon HD4670 but cant start X windows with the Radeon HD6670.
root@debian:~# startx
X.Org X Server 1.7.7 Release Date: 2010-05-04 X Protocol Version 11, Revision 0 Build Operating System: Linux 2.6.32-5-powerpc64 ppc Debian Current Operating System: Linux debian 3.4.24-Sam460ex #16 Sun Dec 30 10:39:28 CET 2012 ppc Kernel command line: root=/dev/sda9 console=ttyS0,115200 video=radeonfb:off Build Date: 30 October 2011 11:03:30PM xorg-server 2:1.7.7-14 (Julien Cristau ) Current version of pixman: 0.16.4 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Mon Jan 28 11:01:23 2013 (==) Using system config directory "/usr/share/X11/xorg.conf.d" [ 102.105958] Program Xorg tried to access /dev/mem between 8000000->8020000. SELinux: Disabled on system, not enabling in X server [ 102.971745] Machine check in kernel mode. [ 102.975769] Data Write PLB Error [ 102.978998] Machine Check exception is imprecise [ 102.983620] Oops: Machine check, sig: 7 [#3] [ 102.987886] Canyonlands [ 102.990336] Modules linked in: rfcomm bnep bluetooth binfmt_misc fuse snd_hda_codec_hdmi snd_hda_intel snd_hda_codec ndfc nand nand_ids mtd nand_bch bch snd_hwdep snd_pcm nand_ecc snd_seq hid_logitech_dj snd_timer ad7414 snd_seq_device snd soundcore snd_page_alloc usb_storage [ 103.015076] NIP: 0f569a04 LR: 0f5699c0 CTR: 0000009b [ 103.020042] REGS: eed0df10 TRAP: 0214 Tainted: G D (3.4.24-Sam460ex) [ 103.027521] MSR: 0002f900 CR: 44004444 XER: 00000000 [ 103.034216] TASK = ef35da40[1598] 'Xorg' THREAD: eed0c000 [ 103.039440] GPR00: 000000a0 bff8a9d0 4803c1c0 48056000 00000000 00000000 00000004 00000000 [ 103.047869] GPR08: 00000005 00000000 00000014 48056000 44000442 101f34cc 48095008 00000280 [ 103.056297] GPR16: 000000a0 00000008 00000000 00000000 000000a0 10838ba0 0000018f 48095008 [ 103.064726] GPR24: 48095008 bff8a9d8 10837d78 00000000 10838ac0 00000000 0f5859b4 00000000 [ 103.073346] NIP [0f569a04] 0xf569a04 [ 103.076925] LR [0f5699c0] 0xf5699c0 [ 103.080412] Call Trace: [ 103.082866] ---[ end trace 11dd5a3e4b185d92 ]--- [ 103.087487]
waiting for X server to begin accepting connections giving up. xinit: Connection reset by peer (errno 104): unable to connect to X server xinit: No such process (errno 3): Server error. root@debian:~#
_________________ Sam460ex : Radeon Rx550 Single slot Video Card : SIL3112 SATA card |
|
| Status: Offline |
|
|
virgolamobile
|  |
Re: Installing SAM460 linux-debian (trying) Posted on 28-Jan-2013 20:28:45
| | [ #27 ] |
|
|
 |
Regular Member  |
Joined: 23-Feb-2004 Posts: 192
From: Somewhere in Northern Italy | | |
|
| @Spectre660 & jabirulo
As I've mentioned here the RadeonHD 6xxx series will not work with any of my kernels, as a KMS kernel is required for these cards: this is the key issue. I'm therefore, sadly, not surprised that none of you are not able to make Xorg working. Looking forward to any help from X1000 Linux power users. |
|
| Status: Offline |
|
|
Spectre660
 |  |
Re: Installing SAM460 linux-debian (trying) Posted on 28-Jan-2013 21:05:55
| | [ #28 ] |
|
|
 |
Elite Member  |
Joined: 4-Jun-2005 Posts: 3918
From: Unknown | | |
|
| @virgolamobile
What I understand about geting the KMS kernels to work is that you have to disable radeonfb
Quote:
virgolamobile wrote: @Spectre660 & jabirulo
As I've mentioned here the RadeonHD 6xxx series will not work with any of my kernels, as a KMS kernel is required for these cards: this is the key issue. I'm therefore, sadly, not surprised that none of you are not able to make Xorg working. Looking forward to any help from X1000 Linux power users. |
_________________ Sam460ex : Radeon Rx550 Single slot Video Card : SIL3112 SATA card |
|
| Status: Offline |
|
|
jabirulo
|  |
Re: Installing SAM460 linux-debian (trying) Posted on 28-Jan-2013 21:06:16
| | [ #29 ] |
|
|
 |
Regular Member  |
Joined: 20-Jun-2004 Posts: 370
From: Donosti (GUIPUZCOA) | | |
|
| @virgolamobile
OK, THX for all the work you're doing!!! Will wait if X1000 linux users share radeon HD 6000series drivers/modules.
THX to all  |
|
| Status: Offline |
|
|
Spectre660
 |  |
Re: Installing SAM460 linux-debian (trying) Posted on 28-Jan-2013 22:17:35
| | [ #30 ] |
|
|
 |
Elite Member  |
Joined: 4-Jun-2005 Posts: 3918
From: Unknown | | |
|
| @virgolamobile
Do you have the SM501 FB active in the KMS kernel ? CONFIG_FB_SM501=y ? if so should all the Frame buffer hardware drivers not be disabled ?
_________________ Sam460ex : Radeon Rx550 Single slot Video Card : SIL3112 SATA card |
|
| Status: Offline |
|
|
Daz
|  |
Re: Installing SAM460 linux-debian (trying) Posted on 28-Jan-2013 23:12:14
| | [ #31 ] |
|
|
 |
Member  |
Joined: 18-Aug-2003 Posts: 49
From: Hull | | |
|
| @virgolamobile
Quote:
virgolamobile wrote: @jabirulo
There is now way for me to build a working kernel for the Sam460ex able to activate RadeonHD 6xxxx series cards. I was able to obtain this final negative result with the support of another user only two days ago.
|
If it is of any help AMD removed a register from the chips used in cards >=6670 - For the X1000 we could use a standard version of the kernel up to a 6570, above that a patch is needed. The sympton of this problem is a 'machine check exception' during pm initialisation.
Have you tried booting with 'drm.debug=7' in your bootargs to see where the driver is failing?
Quote:
The problem is that Linux requires a KMS enabled kernel for these cards but the Sam460ex always end up with a kernel panic when I try to boot a kernel with KMS. With the RadeonHD 4xxx series a DRM support or a simple FB support is enough to make Linux working. I don't have any feedback on the RadeonHD 5xxx series.
|
The KMS code provides it's own fb driver, in fact that is how we get console output on the X1000.
Note also that the KMS driver drives everything from Radeon 7000 to HD7000 series cards. You will need firmware for your card, either compiled in (as with X1000) or supplied on a ram disk. HD4xxx series cards are all enabled by adding r700_rlc.bin - higher cards need 3-5 firmware files each.
Quote:
I will update as soon I'll be back home my Linux Squeeze for Sam460ex web page explaining that RadeonHD 6xxx will not able to use Linux using my kernels.
|
Just be aware that Squeeze may be adding its own problems as the KMS driver is only part of the graphics system. Xorg has its own driver, and the one on squeeze caused us a lot of trouble. If you can update to wheezy (or something based on it) you might have more success.
Quote:
Help on building a working KMS kernel for the Sam460ex is therefore strongly appreciated! For example it could help if someone could provide the kernel configuration file used for the working X1000 Linux kernel. Hopefully this could explain what I'm doing wrong. |
Here is one in the following archive, I may be able to get a better one later (I've taken to compiling the config into the kernel)
Note this is based on 2.6.39.4, but most of the options havn't changed much. 2D/3D HW accelleration is supported up to HD5000 series
http://www.fileden.com/files/2012/6/20/3318323/kernel-39e.zip
I'll keep checking this thread in case there is anything else I can help with. Unfortunately I have no access at all to a SAM460 to try things out.
Regards Darren
|
|
| Status: Offline |
|
|
TrevorDick
 |  |
Re: Installing SAM460 linux-debian (trying) Posted on 28-Jan-2013 23:49:03
| | [ #32 ] |
|
|
 |
Elite Member  |
Joined: 30-Dec-2004 Posts: 2678
From: Wellington | | |
|
| @jabirulo
Sorry just seen your post.
AFAIR the RadeonHD driver modules are open source and need to be built into the kernel along with any other specific patches related to the 460 CPU. I will check and report back.
UPDATE: just seen that Daz has posted a reply above.
TrevorD Last edited by TrevorDick on 28-Jan-2013 at 11:50 PM.
_________________ No, I don't need no reason, I'm just breezin' |
|
| Status: Offline |
|
|
jabirulo
|  |
Re: Installing SAM460 linux-debian (trying) Posted on 29-Jan-2013 13:45:13
| | [ #33 ] |
|
|
 |
Regular Member  |
Joined: 20-Jun-2004 Posts: 370
From: Donosti (GUIPUZCOA) | | |
|
| THX @Daz & @TrevorDick, hope it helps @virgolamobile building a new kernel.
THX
|
|
| Status: Offline |
|
|
virgolamobile
|  |
Re: Installing SAM460 linux-debian (trying) Posted on 29-Jan-2013 17:58:36
| | [ #34 ] |
|
|
 |
Regular Member  |
Joined: 23-Feb-2004 Posts: 192
From: Somewhere in Northern Italy | | |
|
| @Spectre660
Yes, I do have "CONFIG_FB_SM501=y". It does not help unsetting it, I end up with the exactly the same result only wirhout a useable text console, forcing me to use the serial console.
@Daz
Nobody reported a "machine check exception" while using a RadeonHD 6xxx with my kernels, I think just because it stops before that... See this example.
Can you elaborate a bit more about the kernel patch required to make RadeonHD cards >=6670 work?
No, I wasn't aware of the "drm.debug=7" kernel argument, thanks.
In addition, I noticed on the Xorg wiki pages that setting "CONFIG_DRM_RADEON=m" instead of "CONFIG_DRM_RADEON=y" (as I do) should give me more infos.
I'm aware of the firmware requirements. I'm using firmwares available here.
In my experience Debian Wheezy is more picky than Debian Squeeze, this using a RadeonHD 4550 and a RadeonHD 4650. For example I was never being able to use a kernel with DRM support with Wheezy.
Thank you *VERY MUCH* for the provided kernel configuration, I will carefully compare it with mine.
Unfortunately, I don't own (yet) a RadeonHD 6xxx nor a RadeonHD 5xxx. Furthermore I can only work on my Sam460 on some week-end (working days in another town and I don't always go back home where the Sam is).
@TrevorDick
Thanks for your support!
Last edited by virgolamobile on 29-Jan-2013 at 06:44 PM. Last edited by virgolamobile on 29-Jan-2013 at 06:23 PM. Last edited by virgolamobile on 29-Jan-2013 at 06:00 PM.
|
|
| Status: Offline |
|
|
Spectre660
 |  |
Re: Installing SAM460 linux-debian (trying) Posted on 29-Jan-2013 18:06:15
| | [ #35 ] |
|
|
 |
Elite Member  |
Joined: 4-Jun-2005 Posts: 3918
From: Unknown | | |
|
| @virgolamobile
I am willing to test kernels . I have Radeon HD550,6570 and 6670 cards . _________________ Sam460ex : Radeon Rx550 Single slot Video Card : SIL3112 SATA card |
|
| Status: Offline |
|
|
Spectre660
 |  |
Re: Installing SAM460 linux-debian (trying) Posted on 29-Jan-2013 18:30:43
| | [ #36 ] |
|
|
 |
Elite Member  |
Joined: 4-Jun-2005 Posts: 3918
From: Unknown | | |
|
| @virgolamobile
I get initial text output on theSM502 monitor but the font changes at some point and then it goes blank and that is it. Have to use the serial console.
Quote:
virgolamobile wrote: @Spectre660
Yes, I do have "CONFIG_FB_SM501=y". It does not help unsetting it, I end up with the exactly the same result and when unsetting it I end up without a text console, and I can only use the serial console.
|
_________________ Sam460ex : Radeon Rx550 Single slot Video Card : SIL3112 SATA card |
|
| Status: Offline |
|
|
virgolamobile
|  |
Re: Installing SAM460 linux-debian (trying) Posted on 29-Jan-2013 18:47:23
| | [ #37 ] |
|
|
 |
Regular Member  |
Joined: 23-Feb-2004 Posts: 192
From: Somewhere in Northern Italy | | |
|
| @Spectre660
Great about the possibility to have a beta tester!
About the SM502 text output disappearing, try adding the kernel parameter "video=800x600" and tell me if it change behaviour. |
|
| Status: Offline |
|
|
Spectre660
 |  |
Re: Installing SAM460 linux-debian (trying) Posted on 29-Jan-2013 20:36:52
| | [ #38 ] |
|
|
 |
Elite Member  |
Joined: 4-Jun-2005 Posts: 3918
From: Unknown | | |
|
| @virgolamobile
Using the following boot args and a Radeon HD 4670 I can get back the SM502 screen by pressing CTRL ALT F1 and the Radeon screen by pressing CTRL ALT F7 .
kernel /boot/uImage root=/dev/sda9 console=ttyS0,115200n8 console=tty0 video=800x600 -- dtb /boot/canyonlands.dtb
However these keys dont work using the Radeon HD6670 only the serial output works.
Last edited by Spectre660 on 29-Jan-2013 at 08:57 PM.
_________________ Sam460ex : Radeon Rx550 Single slot Video Card : SIL3112 SATA card |
|
| Status: Offline |
|
|
jabirulo
|  |
Re: Installing SAM460 linux-debian (trying) Posted on 29-Jan-2013 21:18:40
| | [ #39 ] |
|
|
 |
Regular Member  |
Joined: 20-Jun-2004 Posts: 370
From: Donosti (GUIPUZCOA) | | |
|
| @Spectre660
What version is you uImage kernel/file? 3.3.4 or 3.4.24 I tested both with my HD6570 and only have SM502 vga output (and serial) nothing on HD6570. So seems those kernels (3.3.4 & 3.4.24 support HD4000series (maybe HD5000series), but no HD6000series 
Well hope virgolamobile can update SAM460 kernel with help of daz (X1000 kernel).
If you need some betatest on SAM460 HD6000series linux kernels I'll be glad to help. Last edited by jabirulo on 29-Jan-2013 at 09:19 PM.
|
|
| Status: Offline |
|
|
Spectre660
 |  |
Re: Installing SAM460 linux-debian (trying) Posted on 29-Jan-2013 21:24:50
| | [ #40 ] |
|
|
 |
Elite Member  |
Joined: 4-Jun-2005 Posts: 3918
From: Unknown | | |
|
| @jabirulo
I am using the 3.4.24 kernel. No output on the Radeon HD6670.also when the SM502 VGA output screen is cleared during boot with the HD6670 there is no way to get the SM502 display back like with the HD4670. I am going to swap my HD5550 out of a PC and have a try.
_________________ Sam460ex : Radeon Rx550 Single slot Video Card : SIL3112 SATA card |
|
| Status: Offline |
|
|