New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NUC972 Board Ethernet not working #62
Comments
ifconfig -aeth0 Link encap:Ethernet HWaddr 08:00:27:00:01:92 lo Link encap:Local Loopback |
Gone through some the previous issues and your advices to solve the issues. Turn off the LCD from uboot program and also getting the same error. RX/TX always coming Zero...... Please Guide to do manual configuration ifconfig eth0 down; ifconfig eth0 upnuc970-emac0 nuc970-emac0: eth0 is OPENED cat /proc/interrupts
16: 16101 - nuc970-timer0 |
What board are you using? Is there any error message during system boot up?
Sincerely,
Yi-An Chen
…________________________________
The privileged confidential information contained in this email is intended for use only by the addressees as indicated by the original sender of this email. If you are not the addressee indicated in this email or are not responsible for delivery of the email to such a person, please kindly reply to the sender indicating this fact and delete all copies of it from your computer and network server immediately. Your cooperation is highly appreciated. It is advised that any unauthorized use of confidential information of Nuvoton is strictly prohibited; and any information in this email irrelevant to the official business of Nuvoton shall be deemed as neither given nor endorsed by Nuvoton.
|
Enable Debug Message U-Boot 2016.11 (Mar 09 2021 - 14:57:39 +0530) CPU: NUC972 Hit any key to stop autoboot: 0 Loading from nand0, offset 0x200000 Booting kernel from Legacy Image at 00007fc0 ...Image Name: Starti▒Booting Linux on physical CPU 0x0
|
Any help or solution?? |
You didn't turn off LCD in U-Boot.
WARNING: LCD enabled in loader but not in kernel, this may cause EMAC hang...
Sincerely,
Yi-An Chen
…________________________________
The privileged confidential information contained in this email is intended for use only by the addressees as indicated by the original sender of this email. If you are not the addressee indicated in this email or are not responsible for delivery of the email to such a person, please kindly reply to the sender indicating this fact and delete all copies of it from your computer and network server immediately. Your cooperation is highly appreciated. It is advised that any unauthorized use of confidential information of Nuvoton is strictly prohibited; and any information in this email irrelevant to the official business of Nuvoton shall be deemed as neither given nor endorsed by Nuvoton.
|
Thank you sir, I got it but how turn it off. I done it in nuc970evb.h file but the same error. Also i was making nuc972_eth2uart_defconfig where it is already deisabled. |
I think now i have successfully turned it off.. But still facing same problem.. Please guide. Refer below lines of output. Loading from nand0, offset 0x200000 Booting kernel from Legacy Image at 00007fc0 ...Image Name: Startic▒ѥ▒▒ Linux on physical CPU 0x0 ~ # ifconfig -a lo Link encap:Local Loopback tunl0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 |
Hi,
The kernel log looks good. Which board are you using?
Sincerely,
Yi-An Chen
…________________________________
The privileged confidential information contained in this email is intended for use only by the addressees as indicated by the original sender of this email. If you are not the addressee indicated in this email or are not responsible for delivery of the email to such a person, please kindly reply to the sender indicating this fact and delete all copies of it from your computer and network server immediately. Your cooperation is highly appreciated. It is advised that any unauthorized use of confidential information of Nuvoton is strictly prohibited; and any information in this email irrelevant to the official business of Nuvoton shall be deemed as neither given nor endorsed by Nuvoton.
|
Have you set SW21 and SW38 to ON?
Sincerely,
Yi-An Chen
…________________________________
The privileged confidential information contained in this email is intended for use only by the addressees as indicated by the original sender of this email. If you are not the addressee indicated in this email or are not responsible for delivery of the email to such a person, please kindly reply to the sender indicating this fact and delete all copies of it from your computer and network server immediately. Your cooperation is highly appreciated. It is advised that any unauthorized use of confidential information of Nuvoton is strictly prohibited; and any information in this email irrelevant to the official business of Nuvoton shall be deemed as neither given nor endorsed by Nuvoton.
|
Yes both are on already |
Any suggestion/help further? |
Please test attached kernel image. If the SW21/SW38 is ON and EMAC0 still doesn’t work, I would guess there’re something wrong about your board. |
U-Boot 2013.04-rc2-ga8435de-dirty (Apr 18 2016 - 10:47:35) CPU: NUC972 Loading from nand0, offset 0x200000 Booting kernel from Legacy Image at 00007fc0 ...Image Name: Linux-3.10.108+ Starting kernel ... Uncompressing Li done, booting tBooting Linux on physical CPU 0x0 BusyBox v1.22.1 (2016-02-03 14:11:04 CST) built-in shell (ash) ~ # ifconfig -a lo Link encap:Local Loopback |
Sir, Please check above logs with image provided by you its giving me same output.. |
Hi, did you ifconfig eth0 up?
Yi-An Chen
…________________________________
From: tkrelcon ***@***.***>
Sent: Saturday, March 13, 2021 6:26:30 PM
To: OpenNuvoton/NUC970_Linux_Kernel ***@***.***>
Cc: MS10 YAChen ***@***.***>; Comment ***@***.***>
Subject: Re: [OpenNuvoton/NUC970_Linux_Kernel] NUC972 Board Ethernet not working (#62)
Sir, Please check above logs with image provided by you its giving me same output..
Any check points suggestion for hardware..
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FOpenNuvoton%2FNUC970_Linux_Kernel%2Fissues%2F62%23issuecomment-798111889&data=04%7C01%7Cyachen%40nuvoton.com%7C53e91da1ddf847bb4dd708d8e60a78b9%7Ca3f24931d4034b4a94f17d83ac638e07%7C0%7C0%7C637512279946981782%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=2Ia0PAbV9RJy9fAFqYcsSMZQ8PHuH7a3OhHEMZatiSQ%3D&reserved=0>, or unsubscribe<https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAKCP4U3P65XEO7DZNUGYUTTDM4VNANCNFSM4Y3H377Q&data=04%7C01%7Cyachen%40nuvoton.com%7C53e91da1ddf847bb4dd708d8e60a78b9%7Ca3f24931d4034b4a94f17d83ac638e07%7C0%7C0%7C637512279946981782%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=cC3zTCm%2B3vbzTeyxRWVE%2F8FS%2Bben4w4OOd2F8uhQ9tA%3D&reserved=0>.
________________________________
The privileged confidential information contained in this email is intended for use only by the addressees as indicated by the original sender of this email. If you are not the addressee indicated in this email or are not responsible for delivery of the email to such a person, please kindly reply to the sender indicating this fact and delete all copies of it from your computer and network server immediately. Your cooperation is highly appreciated. It is advised that any unauthorized use of confidential information of Nuvoton is strictly prohibited; and any information in this email irrelevant to the official business of Nuvoton shall be deemed as neither given nor endorsed by Nuvoton.
|
Yes Sir, Please see below logs ~ # ifconfig eth0 up lo Link encap:Local Loopback |
Are the LEDs on the Ethernet jack Light up?
Yi-An Chen
…________________________________
From: tkrelcon ***@***.***>
Sent: Saturday, March 13, 2021 7:12:19 PM
To: OpenNuvoton/NUC970_Linux_Kernel ***@***.***>
Cc: MS10 YAChen ***@***.***>; Comment ***@***.***>
Subject: Re: [OpenNuvoton/NUC970_Linux_Kernel] NUC972 Board Ethernet not working (#62)
Yes Sir,
Please see below logs
~ # ifconfig eth0 up
nuc970-emac0 nuc970-emac0: eth0 is OPENED
~ # ifconfig -a
eth0 Link encap:Ethernet HWaddr 08:00:27:00:01:92
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
lo Link encap:Local Loopback
LOOPBACK MTU:65536 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FOpenNuvoton%2FNUC970_Linux_Kernel%2Fissues%2F62%23issuecomment-798172704&data=04%7C01%7Cyachen%40nuvoton.com%7C710e7f485ec9410bd5b108d8e610df9a%7Ca3f24931d4034b4a94f17d83ac638e07%7C0%7C0%7C637512307429138889%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=yM8BPepzh05ElkNdJFpwTe2pnTQf1oMv9aoqSVkl37I%3D&reserved=0>, or unsubscribe<https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAKCP4V3MOLQPVSENO23PKDTDNCBHANCNFSM4Y3H377Q&data=04%7C01%7Cyachen%40nuvoton.com%7C710e7f485ec9410bd5b108d8e610df9a%7Ca3f24931d4034b4a94f17d83ac638e07%7C0%7C0%7C637512307429148884%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=xxi9ukmnUuMyvWWxKvjMqeRx7lTT2aXXdqExJ20%2FPN4%3D&reserved=0>.
________________________________
The privileged confidential information contained in this email is intended for use only by the addressees as indicated by the original sender of this email. If you are not the addressee indicated in this email or are not responsible for delivery of the email to such a person, please kindly reply to the sender indicating this fact and delete all copies of it from your computer and network server immediately. Your cooperation is highly appreciated. It is advised that any unauthorized use of confidential information of Nuvoton is strictly prohibited; and any information in this email irrelevant to the official business of Nuvoton shall be deemed as neither given nor endorsed by Nuvoton.
|
Yes Sir, Orange Continuously and green blinking. I check cable and pin both are working in other device properly.. |
While connecting through putty using IP i am getting this.... login as: root Welcome to Automation BOS System.. |
This is what i am getting while using some networking commands ~ # traceroute 192.168.0.100 Usage: ip [OPTIONS] {address | route | link | tunnel | rule} {COMMAND} ip [OPTIONS] OBJECT {COMMAND} ~ # arp -n |
What city are you in? I can't tell what goes wrong from your description. Do you have other 972 board in hand that you can give it a try?
Yi-An Chen
…________________________________
From: tkrelcon ***@***.***>
Sent: Saturday, March 13, 2021 7:46:21 PM
To: OpenNuvoton/NUC970_Linux_Kernel ***@***.***>
Cc: MS10 YAChen ***@***.***>; Comment ***@***.***>
Subject: Re: [OpenNuvoton/NUC970_Linux_Kernel] NUC972 Board Ethernet not working (#62)
This is what i am getting while using some networking commands
~ # traceroute 192.168.0.100
traceroute to 192.168.0.100 (192.168.0.100), 30 hops max, 38 byte packets
1traceroute: sendto: Network is unreachable
~ # netstat
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
Active UNIX domain sockets (w/o servers)
Proto RefCnt Flags Type State I-Node Path
~ # ipaddr
-/bin/sh: ipaddr: not found
~ # ip -s link
BusyBox v1.22.1 (2016-02-03 14:11:04 CST) multi-call binary.
Usage: ip [OPTIONS] {address | route | link | tunnel | rule} {COMMAND}
ip [OPTIONS] OBJECT {COMMAND}
where OBJECT := {address | route | link | tunnel | rule}
OPTIONS := { -f[amily] { inet | inet6 | link } | -o[neline] }
~ # arp -n
arp: applet not found
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FOpenNuvoton%2FNUC970_Linux_Kernel%2Fissues%2F62%23issuecomment-798223808&data=04%7C01%7Cyachen%40nuvoton.com%7C2bc93bb6a8d449e3ace408d8e615a12f%7Ca3f24931d4034b4a94f17d83ac638e07%7C0%7C0%7C637512327869424194%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=MCyAC0i1qk3cUYSbu%2FzONIo6HJ2SgnmgaH1EiVYF8g4%3D&reserved=0>, or unsubscribe<https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAKCP4T2GCSY42HOJM43RXTTDNGA3ANCNFSM4Y3H377Q&data=04%7C01%7Cyachen%40nuvoton.com%7C2bc93bb6a8d449e3ace408d8e615a12f%7Ca3f24931d4034b4a94f17d83ac638e07%7C0%7C0%7C637512327869424194%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=mKL%2FQ1GKCO%2FA4pKyrv4uQ8TRKP4Mr0m3LHlMbHIwT5Q%3D&reserved=0>.
________________________________
The privileged confidential information contained in this email is intended for use only by the addressees as indicated by the original sender of this email. If you are not the addressee indicated in this email or are not responsible for delivery of the email to such a person, please kindly reply to the sender indicating this fact and delete all copies of it from your computer and network server immediately. Your cooperation is highly appreciated. It is advised that any unauthorized use of confidential information of Nuvoton is strictly prohibited; and any information in this email irrelevant to the official business of Nuvoton shall be deemed as neither given nor endorsed by Nuvoton.
|
I am Vadodara(Baroda), Gujarat, India. No i don't have any other NUC970 board. |
One more thing i have noticed while i am building through buildroot toolchain in environment file it was not setting any variable for ethernet. My environment Variables are as follows. Will it affect.? baudrate=115200 |
No, the Uboot env setting is irrelevant with the EMAC issue in Linux kernel. |
The original source doesn't have the extra colon. And can be built without problem. |
Ok. I removed extra colon but nothing changed in previous one. Ok. Thank you again. If you get any solution idea pls let me know. I will search out the fault. |
Hey, I got a new NUC980DK61YC Evaluation board with me. I am trying to load image files and uboot files in SPI but it was showing this error. NUC980 IBR 20180813
|
No description provided.
The text was updated successfully, but these errors were encountered: