in rtems-libbsd\rtemsbsd\include\bsp\nexus-devices.h
add
static const rtems_bsd_device_resource cpsw0_res[] = {
{
.type = RTEMS_BSD_RES_MEMORY,
.start_request = 0,
.start_actual = 0x4a100000
}, {
.type = RTEMS_BSD_RES_IRQ,
.start_request = 0,
.start_actual = 0x28
},
{
.type = RTEMS_BSD_RES_IRQ,
.start_request = 1,
.start_actual = 0x29
},
{
.type = RTEMS_BSD_RES_IRQ,
.start_request = 2,
.start_actual = 0x2a
},
{
.type = RTEMS_BSD_RES_IRQ,
.start_request = 3,
.start_actual = 0x2b
}
};
RTEMS_BSD_DEFINE_NEXUS_DEVICE(cpsw, 0, RTEMS_ARRAY_SIZE(cpsw0_res),
&cpsw0_res[0]);
SYSINIT_DRIVER_REFERENCE(atphy, miibus);
------------------ Original ------------------
From: "yao0718";<29171...@qq.com>;
Date: Tue, Jul 5, 2016 03:11 PM
To: "devel"<devel@rtems.org>;
Subject: [0/6] ti cpsw driver port from freebsd for am335x
I add cpsw driver from freebsd and modify some code for my board, my board is
not beagleblack, so i am not sure it can work fine in BB board,to reduce phy
find process, I set phy address 4 and 6 for which phy address on my board,my
board has two eth port ,I set dualmac when attach;
can somebody test it on beaglebone and merge to beaglebone bsp?
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel