-
Notifications
You must be signed in to change notification settings - Fork 11
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
Web UI on LS1021A-TSN board #6
Comments
ls1021atsn do not need tsntool.
Then browser should see the device in the list. |
firstly, you can run tc command on serial port, like the following, to check tc command, if tc command is working, you can send config file from sysrepo-tsn client, and see the feedback: qbv-swp5-tc.xml is like this:
|
qbv-swp5-tc.xml link on github is: |
Thank you very much for your help! |
After some trial and error, I found out that I can get some information when I canceled the login password of openil. However, related operations are still invalid, such as adding port (swp3) Qbv setting and modifying existing configurations. |
Hi Crow1814, Br, |
Hi liupoer, |
editconfig command load libnetconf.so, it calling a RPC function. feedback error only shows device feed back failure error. |
I have saved the xml generated by web ui, and run on netopeer-cli by edit-config command.
|
I have reboot the ls1021atsn and run on edit-config --target running --config=qbv.xml on ubuntu18.04.
The error message is:
On ls1021atsn run 'netopeer2-server -d -v2', the log is:
In addition, I run the following xml via edit-config --target running --config=qbv2.xml under the same configuration.
Sorry for my frequent comments. Thank you very much for your time! |
"[ERR]: Could not bind "0.0.0.0" port 830 (Address already in use). Are you still keeping the default netopeer2-server as background? |
Which version of openil are you using? |
I have followed your instruction, kill the default one and running the new debug process.
|
I found that even if the response of "edit-config --target running --config=qbv.xml" is "OK", the settings do not take effect on ls1021atsn. Firstr, on ubuntu18.04:
Second, on ls1021atsn:
Third,Third, on ls1021atsn:
Fourth, on ls1021atsn:
So I guess if there is a problem with sysrepo-tsn? |
ok. cmd: ..., it shows that sysrepo-tsn had run the tc command,
|
1、I have set BR2_PACKAGE_QORIQ_SYSREPO_TSN_TC=y in configs/nxp_ls1021atsn_defconfig of openil.
|
ok, I will build openil1.9 for ls1021atsn board, and test the case, it will take some time. and you can test the following:
qbv-swp5-tc.xml link on github is: |
another issue, from your log, we also see output message of tsntool lib, "got error reply. error NO. is 2", you can disable "BR2_PACKAGE_QORIQ_TSNTOOL" in package/nxp/qoriq-sysrepo-tsn/Config.in of openil, and rebuild sysrepo-tsn, and test. |
1、On the netopeer2-cli:
2、On the ls1021atsn run "netopeer2-server -d -v4"
3、On the ls1021atsn run "sysrepo-tsn -d -v4"
4、On the ls1021atsn
|
firstly, disable "BR2_PACKAGE_QORIQ_TSNTOOL" in package/nxp/qoriq-sysrepo-tsn/Config.in of openil, and reconfigure sysrepo-tsn, and test it. |
I have disabled "BR2_PACKAGE_QORIQ_TSNTOOL", and then:
2、On the ls1021atsn run "sysrepo-tsn -d -v4"
3、On the ls1021atsn check configuration information. Although the error message "got error reply. error NO. is 2" still appears, the setting is effective in the ls1021atsn.
In addition, I tried another xml as below,
The feedback is
and the error message on ls1021atsn is:
|
I find the reason, in 1021atsn board, if you run "tc qdisc replace ..." firstly, and want to run next "tc qdisc replace ...", must run "tc qidsc del ..." to delete former one. but in ls1028atsn, it don't need delete former qdisc. I think "replace" don't need delete, and sysrepo-tsn don't konw which one should be deleted. we will discuss this issue and try to resolve it. @crow1814 you can run "tc qdisc del ..." before you send qbv.xml, and check the result. |
Thank you very much for your help!
If I don't delete former qdisc, the new qdisc will do not take effect, and the log on sysrepo-tsn is:
After some trial and error, I found out that when I replace the qdisc on the same port(swp4), the first click on ‘confirm’ will delete the former qdisc and the second click on ‘confirm’ will add the new qdisc, it will takes effect on 1021, the log on sysrepo-tsn is:
And the log on ls1021atsn is:
Thank you very much for your help!!! @whbo158 @liupoer , hope my trials are helpful! |
another question, |
After discusstion with my colleague, you don't need remove BR2_PACKAGE_QORIQ_TSNTOOL, if remove it, will produce compilation error, we will discuss and resolve the output of "got error reply. error NO. is 2". |
OK, thank you for your time! |
Hi,
I'm trying to configure LS1021A-TSN board through web page following the Web UI demo in the OpenIL guide (1.9) (https://www.nxp.com/docs/en/user-guide/OPEN-LINUX-IND-UM-1.9.pdf). I have installed tsntool on ubuntu18.04 and can open localhost:8180, but I cannot find the device (LS1021A-TSN board), the area under the device is blank.
The reason is that LS1021A-TSN board does not currently support tsntool? Will LS1021A adapts to tsntool in the near future? How can I configure LS1021A-TSN boardthrough the web page?
I was wondering if you could solve the above problems. Thank you for your time.
The text was updated successfully, but these errors were encountered: