-
Notifications
You must be signed in to change notification settings - Fork 96
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
Hi3518e and ethernet not working ? #4
Comments
You need to change "rmii" to "mii" in package/himpp/himpp-hi3518v100/load3518.sh. |
Thanks for the answer and the hint. However, no luck there. I've change the load3518.sh, then as id didn't work, adding the CONFIG_HIETH_MII_RMII_MODE_U=0 The led is barely orange when buildroot is "on" (as if there are not enough power). I've dump the spi firmware and "binwalk" him, but I've no idea how find the "config" of the kernel (I don't think that's possible :( ). |
@briaeros Can you see the chip name? |
The phy chip is IP101GR (http://www.bdtic.com/DataSheet/ICplus/IP101G_DS_R01_20121224.pdf ), and the Hi chip is HI3518ERBCV10D. Thanks for your help :) |
Did you rebuild the kernel (with command make linux-rebuild)? |
I use make clean && make -j 8 to compile "from scratch" each time.
Unfortunately , this doesn't change a thing :( I've verified with an uname -a that I've got the last compiled kernel. I've copied the boot.txt if it could help. If you've got any idea to test, I'm more than interested :) |
Do you have access to uboot? I need output of command printenv. Also output of command ifconfig (from linux console). |
Hi, I've attached multiples files. I've found that the origin firmware is in rmii (the boot launch ./load3518 -i ar0130 , and the "load3518" command is copied in load-firmware-origin.txt). The uboot printenv is in uboot.txt, and I've run ifconfig on both firmware (buildroot and firmware origin, which works). However, even if it's in rmii, it doesn't explain why it wouldn't work :'( ifconfig-buildroot.txt |
Did you set BR2_TARGET_UBOOT_BOARDNAME to hi3518e? |
Hi, I didn't, but I've done a new compile using this parameters to hi3518e (and modifying BR2_TARGET_UBOOT_HI35XX_IMAGE_CH_FILE to board/hisilicon/hi3518/boot/reg_info_hi3518e.bin). Unfortunately , I tried to use the uboot generate with the command tftp 0x81000000 u-boot.bin then go 0x81000000 , but the network didn't work in the new uboot. No more lucks with just the kernel and the original u-boot. I think that my board is cursed :d |
Hi, I have the same board. But I can access to the network from uboot and linux. Did you fix the problem? I bought a programmator for mx25l6406e. If you have a problem with the board loading. |
Thank you for your patience. I've tried to modify the default configuration of uboot, to get it directly working from ram (without the uboot-env partition). But even when I put all the information that are in uboot-env.txt, I can't make it work. So I'm not really confident to put it on flash ;) I tried to boot the new kernel from this uboot (loading it before), but without success. It didn't even take into account the uboot variable "sensor_type" and always try to launch the ov sensor. I pass the ${hieth} to kernel command line. I've got some stm32 laying somewhere, perhaps I could convert one to make a spi progammer, but I'm not too found to desolder the chips (and I'm sure to be good enough to How did you make your firmware image ? Juste copy each binary to the right address on the flash, or do you make a complete image before pushing it to the flash ? (on the new uboot, I've got this environnment |
has anyone figured this out. I have same problem on a hi3518e juan board. have linux, uboot, running pretty goo finally after trashing 2 boards and now unsoldering spi chip 8 times. now im pretty good at it... LOL |
my board has full network connectivity in uboot, but no in Linux. here is is the current fw_print: fw_printenvbootcmd=run autoboot |
looks like I have a problem loading some modules. Ill repair and report if it fixes problem. I can ping only the interface ip on eth0. nothing else works. hi3518_base: module license 'Proprietary' taints kernel. Welcome to hi35xx-buildroot |
.config - Linux/arm 3.0.8 Kernel Configuration |
my board has microchip ethernet controller is ksz8081mnx. had it working after screwng around for 2 hours.i dont know what i did however !@. |
tested with mii-test in linux and all shows good. here is u-boot mii dump, eth0 = no such device ipcam # mii device eth0:1 |
Got mine fixed after 5 hours of testing and retesting. playing with u-boot scripts. Here is the final linux cmdline that works: cat /proc/cmdline |
Hello, I'm really sorry for the delay and I want to thanks you for your persistence and coming back once it's works ;) |
Hi @briaeros, I also had a problem getting the Ethernet working and believe I was having the same problem as you. Particularly when you described: "The led is barely orange when buildroot is "on" (as if there are not enough power). I tried changing the CONFIG_HIETH_MII_RMII_MODE_U and CONFIG_HIETH_MII_RMII_MODE_D options to 1 (RMII) but this didn't get the Ethernet working. In the end I needed to also edit the net_rmii_mode function in the pinmux_hi3518.sh startup script, which was incorrectly setting the muxctrl_reg28 register to the wrong function (EPHY_CLK instead of GPIO1_3). I've made these changes in a fork of hi35xx-buildroot, see: I've also writen a longer description of diagnosing the problem in a blog post, see: http://mark4h.blogspot.co.uk/2017/08/hi3518-camera-module-part-2-getting.html Hope this helps, |
ive had good luck booting from nor flash and sdcard, but unable to get parameters right for nfs root file system boot. any ideas? what is rtsp connection url for live-streamer??? |
any ideas on setting ethernet connector to jtag. if i understand the mux usage it can be set for jtag usage, but dont understand source code well enough to figure out. |
@mark4h Your blog post is very informative. I don't think I would've found theses register. Thanks a lot for your investigation and correction. Do you plan to do a push request ? (ps , I didn't see any rss on your blog to see what you would do with your camera ;) ) |
@49handyman Concerning the nfs : if you boot with an image "standalone" (flash, initrd, ...) , do you have access to the network in it ? For the jtag, I'm not sure you can mux it directly other the ethernet phy. Nothing seems to indicate this on the datasheet of my ethernet phy or the hi3518. For the live-streamer url , I'm searching the same information :). |
@mark4h thanks. i was getting |
Can I get RTSP destination URL from live-streamer started on HI3518EV1 cam with ov9712 sensor ? AutoReply You can get RTSP traffic from IPCam - rtsp://you_device_ip:554/0 or rtsp://you_device_ip:554/1 |
Good afternoon ! I have a question about the use of an internal/external Ethernet PHY. If I use an internal Hisilicon PHY then I must set it in the kernel settings: If I use an external PHY RTL8201 or IP101 then I must set it in the kernel settings: If I rebuild the kernel for each system, everything works fine. I'm wondering, is there a way to switch PHY directly from the Linux console via devmem/himm ? Thanks for any answers |
Look patch |
Hi,
I've got an 53H13PE board, with a Hi3518e and an aptina and I'm trying to use your buildroot on it.
However, the driver hieth seems to be a little upset with it, since it give me an interface (eth0) wich emits and receives absolutely no packet.
I can assign it an ip address, but whatever I do, no packet are sended nor received (check by tcpdump on the board, or on my network).
The on-board firmware works well on this aspect.
I've used the linux 3.0 version, since with the 3.4 I don't have any serial console (and no network).
I've tried to modify the RMII_MODE_{U,D} and the PHYID_{U,D} in the linux config, to no avail.
Have you got this problem , and/or do you have an idea where to look at to investigate ?
Do you know any "cheap" board that is compatible with this buildroot (it could be easier to just switch the board :))
Cordially
Ps : on the on-board firmware, I've got theses informations, but I don't know what to do with
From boot :
from some other conf file
from the directory /sys/devices/platform/hieth.0/net/eth0
The text was updated successfully, but these errors were encountered: