Quantcast
Channel: EngineerZone: Message List
Viewing all articles
Browse latest Browse all 22625

Re: Re: network works on uboot but failure in uclinux

$
0
0

Hi Aaronwu,

     I tried  but still failed , for lack of knowledge on bf548 . Yeah, the LAN_IRQ  pin is connected to pin PH5 on my custom board whereas PE8 on bf548-ezkit .And I do two tests in software:

     Test 1:

 

static struct resource smsc911x_resources[] = {

    {

        .name = "smsc911x-memory",

        .start = 0x24000000,

        .end = 0x24000000 + 0xFF,

        .flags = IORESOURCE_MEM,

    },

    {

        .start = IRQ_PE8,

        .end =   IRQ_PE8,

        .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_LOWLEVEL,

    },

};

 

one thing puzzles me : for hardware , pin is PH5 ,but I configure it as PE8 in software ,the libphy: smsc911x-mdio: probed .and the dmesg is in attached file IRQ_PE8_infomation.txt .

 

and test 2 :

static struct resource smsc911x_resources[] = {

    {

        .name = "smsc911x-memory",

        .start = 0x24000000,

        .end = 0x24000000 + 0xFF,

        .flags = IORESOURCE_MEM,

    },

   {

        .start = IRQ_PH5,

        .end =   IRQ_PH5,

        .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_LOWLEVEL,

    },

};

 

and the dmesg is in attached file IRQ_PH5_infomation.txt .

 

Thanks!


Viewing all articles
Browse latest Browse all 22625

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>