Skip to contentSkip to conversation

kernel 3.2.0 with rt patch-3.2-rt10.patch.gz hangs up Ethernet module

DISCUSSION Marcus lu 3 participants 3 messages Jun 16, 2015

lore
Share & tools
lore

Marcus lu

author
#0 lore raw

Hi Sir :

I try kernel version 3.2.0 and RT patch patch-3.2-rt10.patch.gz on TI AM335x EVM(Cortex A8), I find out a problem.

My test steps as below :

1. In pure linux directory, I use zcat ../../patch-3.2-rt10.patch.gz | patch -p1 command. (pure means I install TI’s SDK : ti-sdk-am335x-evm- 0.6.00.00.00-linux-x86-install.bin without changing anything)

In linux directory :
2. make ARCH=arm CROSS_COMPILE=/home/marcus/ti-sdk-am335x-evm- 06.00.00.00/linux-devkit/sysroots/i686-arago-linux/usr/bin/arm-linux- gnueabihf- tisdk_am335x-evm_defconfig
3. make ARCH=arm CROSS_COMPILE=/home/marcus/ti-sdk-am335x-evm- 06.00.00.00/linux-devkit/sysroots/i686-arago-linux/usr/bin/arm-linux- gnueabihf- menuconfig
4. Select kernel Features and preemption Model Fully Preemptible Kernel(RT)
5. Save .config
6. make ARCH=arm CROSS_COMPILE=/home/marcus/ti-sdk-am335x-evm- 06.00.00.00/linux-devkit/sysroots/i686-arago-linux/usr/bin/arm-linux- gnueabihf- uImage
7. After building successfully, copy uImage to SD card and power on the EVM board.

8. Executing iperf -s on linux platform and execute iperf.exe –c 10.0.0.180 –w 100M –t 1200 –I 10 on win 7 platform.
9. Ethernet module on linux platform hangs up.(I can’t ping my PC in linux platform even though I use ipconfig eth0 down and ipconfig eth0 up command)

Could you give me some suggestion?

I have tried not to enable RT support and use iperf to test, the testing result is good.

Best regard,

Marcus

#1 lore raw

Hello,

Quoted 2 lines · Marcus lu

I try kernel version 3.2.0 and RT patch patch-3.2-rt10.patch.gz on TI AM335x EVM(Cortex A8), I find out a problem.

Is there a reason you're not using the latest and greatest 3.2-stable plust the matching lates -rt patch? Also 3.2 is already old and the am335x support in mainline is good, so better use a more recent release.

Quoted 22 lines

My test steps as below :

1. In pure linux directory, I use zcat ../../patch-3.2-rt10.patch.gz | patch -p1 command. (pure means I install TI’s SDK : ti-sdk-am335x-evm- 0.6.00.00.00-linux-x86-install.bin without changing anything)

In linux directory :
2. make ARCH=arm CROSS_COMPILE=/home/marcus/ti-sdk-am335x-evm- 06.00.00.00/linux-devkit/sysroots/i686-arago-linux/usr/bin/arm-linux- gnueabihf- tisdk_am335x-evm_defconfig
3. make ARCH=arm CROSS_COMPILE=/home/marcus/ti-sdk-am335x-evm- 06.00.00.00/linux-devkit/sysroots/i686-arago-linux/usr/bin/arm-linux- gnueabihf- menuconfig
4. Select kernel Features and preemption Model Fully Preemptible Kernel(RT)
5. Save .config
6. make ARCH=arm CROSS_COMPILE=/home/marcus/ti-sdk-am335x-evm- 06.00.00.00/linux-devkit/sysroots/i686-arago-linux/usr/bin/arm-linux- gnueabihf- uImage
7. After building successfully, copy uImage to SD card and power on the EVM board.

Quoted 7 lines

8. Executing iperf -s on linux platform and execute iperf.exe –c 10.0.0.180 –w 100M –t 1200 –I 10 on win 7 platform.
9. Ethernet module on linux platform hangs up.(I can’t ping my PC in linux platform even though I use ipconfig eth0 down and ipconfig eth0 up command)

Could you give me some suggestion?

Try a vanilla kernel. Vendor kernel tend to use non-optimal stuff that stands in your way when you start to do things.

Best regards
Uwe

Signature · 6 lines
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#2 lore raw
Quoted 8 lines · * Uwe Kleine-König | 2015-06-16 10:11:58 [+0200]:

Hello,

Quoted 2 lines · Marcus lu

I try kernel version 3.2.0 and RT patch patch-3.2-rt10.patch.gz on TI AM335x EVM(Cortex A8), I find out a problem.

Is there a reason you're not using the latest and greatest 3.2-stable plust the matching lates -rt patch? Also 3.2 is already old and the am335x support in mainline is good, so better use a more recent release.

exactly. I remember fixing the driver for v3.8-RT. And v3.2 should have no support for am335x so there is no way to backport that stuff. Use something more recent.

Quoted 2 lines

Best regards
Uwe

Sebastian
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html