Pieter Palmers wrote:
This interrupt scheme is where my problem occurs.When using the driver alone, I don't get any interrupts.It looks that isis bootcode in maxiinit (SAM9707) is different than generic bootcode (9407) in ALSA SAM driver (SAM9407 vs. SAM9707 differences perhaps?). I got bootcode from sam9407-1.0.0 package (by Gerd Rausch).
So I thought of the following: why not load the firmware from userspace, and use my new driver in stead of the es1968 one. So I loaded the ISIS driver, then started the maxiinit app, and to my surprise the driver started to catch the SAM interrupts. So now my situation is:
Scheme 1: loading snd-isis, then trying bootload through HWDEP interface => failure (no interrupt, meaning timeout)
scheme 2: loading snd-isis, run maxiinit, then trying bootload through HWDEP interface => success (interrupts are generated, all ok)
the strange thing is that both maxiinit, and the HWDEP ioctl 'bootload' are doing exactly the same.
--- ews64_boot Mon Jan 27 07:27:30 2003
+++ isis_boot Mon Jan 27 07:25:23 2003
@@ -1,35 +1,35 @@
-static unsigned short snd_sam9407_boot_ucode[]={
-0xD0CE,0x0111,0xD0CE,0x01D4,0x0001,0x0003,0x0004,0x0006,
+static u16 samBoot[]={
+0xD0CE,0x0111,0xD0CE,0x01D5,0x0001,0x0003,0x0004,0x0006,
0x0001,0x0003,0x0002,0x0002,0x0006,0x0002,0x0001,0x0006,
0x0006,0x7A0C,0xE628,0x0001,0xD448,0x1010,0xC4CB,0xD1CB,
0xE2FE,0x4F01,0xE3FC,0x4E0D,0xE0FA,0x4700,0x8407,0xD148,
0x0104,0x9107,0x7A08,0x7A09,0xC590,0xD1CB,0xE2FE,0x4F01,
0xE3EE,0xC74D,0x6DFA,0xD44A,0x012E,0xC449,0x7816,0x7819,
0x7821,0x781D,0x782E,0x7830,0x7835,0x783A,0x783F,0x7849,
-0x784C,0x786F,0x786E,0x7914,0x01F8,0x7A10,0x7A11,0x7915,
+0x784C,0x786E,0x786D,0x7914,0x01F8,0x7A10,0x7A11,0x7915,
0x0000,0x7913,0x0007,0x7A12,0xD1CA,0xC44F,0xC4C4,0xD0CE,
-0x01CD,0xC64F,0xC54F,0xC44F,0xCB4C,0xD5C4,0x78C4,0xC64F,
+0x01CB,0xC64F,0xC54F,0xC44F,0xCB4C,0xD5C4,0x78C4,0xC64F,
0xC74F,0xCF4C,0xC64F,0xC54F,0xCB4C,0x3D09,0xC64F,0xC54F,
-0xCB4C,0x3D08,0xD449,0x0130,0xE302,0xC480,0x786E,0xCF80,
-0x78B2,0xC04F,0xC4C9,0x7869,0xC64F,0xC54F,0xCB4C,0xC04F,
-0xC5CB,0x78A9,0xC54F,0xC44F,0xC94A,0xD1CE,0x8405,0x785D,
-0xC54F,0xC44F,0xC94A,0xD1CE,0x8406,0x7857,0xC74F,0xC64F,
+0xCB4C,0x3D08,0xD449,0x0130,0xE302,0xC480,0x786C,0xCF80,
+0x78B2,0xC04F,0xC4C9,0x7867,0xC64F,0xC54F,0xCB4C,0xC04F,
+0xC5CB,0x78A9,0xC54F,0xC44F,0xC94A,0xD1CE,0x8405,0x785B,
+0xC54F,0xC44F,0xC94A,0xD1CE,0x8406,0x7855,0xC74F,0xC64F,
0xCD4E,0xC74F,0xC54F,0xCB4E,0xC74F,0xC44F,0xC94E,0xD1CF,
0x7892,0xC64F,0xC54F,0xCB4C,0xC549,0xC04F,0x0001,0x0400,
-0xC4CB,0xD148,0x0015,0x0406,0xC04F,0xD0C1,0x7D01,0x6CFC,
-0xD0CA,0x8418,0x0001,0xC4CB,0xD1C9,0x0001,0x840C,0xE901,
-0x0000,0x7803,0xE911,0xD048,0xFFFF,0x7B00,0xE920,0xD1C8,
-0xC04F,0xC14F,0xC24F,0xC34F,0xC44F,0xC54F,0xC64F,0xC74F,
-0xD1CA,0x8704,0x0001,0x0410,0xC4CB,0xC54F,0xC44F,0xC94A,
-0x3C0D,0xC54F,0xC44F,0xC94A,0x3C0F,0xC54F,0xC44F,0xC94A,
-0x3C0E,0x0001,0xD448,0x2010,0xD548,0x3010,0xD749,0x013A,
-0xE304,0xD448,0x1010,0xD548,0x1010,0xC4CB,0xC5CB,0x0006,
-0xC4CB,0x7B0D,0xE3FE,0xD0CE,0x0113,0x0006,0xC4CB,0x0007,
-0xC849,0xC4CB,0xD0CE,0x0113,0xC74D,0xC64D,0xC54D,0xC44D,
-0xC34D,0xC24D,0xC14D,0xC04D,0x7A05,0x840C,0x4100,0xE101,
-0x4104,0xE301,0x4201,0xE501,0x4302,0xD94A,0xD94B,0x3C0C,
-0x0001,0x0400,0xC4CB,0xD0C8,0xD148,0x0010,0x0406,0xC0C1,
-0xC04D,0x7C01,0x6CFC,0xD0CF,0x013B,0xD448,0x55AA,0x78D5,
+0xC4CB,0x0115,0x0406,0xC04F,0xD0C1,0x7D01,0x6CFC,0xD0CA,
+0x8418,0x0001,0xC4CB,0xD1C9,0x0001,0x840C,0xE901,0x0000,
+0x7803,0xE911,0xD048,0xFFFF,0x7B00,0xE920,0xD1C8,0xC04F,
+0xC14F,0xC24F,0xC34F,0xC44F,0xC54F,0xC64F,0xC74F,0xD1CA,
+0x8704,0x0001,0x0410,0xC4CB,0xC54F,0xC44F,0xC94A,0x3C0D,
+0xC54F,0xC44F,0xC94A,0x3C0F,0xC54F,0xC44F,0xC94A,0x3C0E,
+0x0001,0xD448,0x2010,0xD548,0x3010,0xD749,0x013A,0xE304,
+0xD448,0x1010,0xD548,0x1010,0xC4CB,0xC5CB,0x0006,0xC4CB,
+0x7B0D,0xE3FE,0x78B5,0x0006,0xC4CB,0x0001,0xC5C9,0x3510,
+0xE2FD,0xCA49,0x0006,0xC5CB,0x78AB,0xC74D,0xC64D,0xC54D,
+0xC44D,0xC34D,0xC24D,0xC14D,0xC04D,0x7A05,0x840C,0x4100,
+0xE101,0x4104,0xE301,0x4201,0xE501,0x4302,0xD94A,0xD94B,
+0x3C0C,0x0001,0x0400,0xC4CB,0xD0C8,0x0110,0x0406,0xC0C1,
+0xC04D,0x7C01,0x6CFC,0xD0CF,0x013B,0xD448,0x55AA,0x78D3,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000
};
Could you try to boot SAM with a bootcode from maxiinit driver?
Perhaps a delay value in sam_ucode.c is too low, but if you received correct checksum on microcode start, this is not the cause.
Uros.
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel