Firefly Open Source Community

   Login   |   Register   |
New_Topic
123
New Topic
Print Previous Topic Next Topic

Ubuntu Ethernet connection unavailable

135

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
135
Posted at 8/8/2017 17:28:45        Only Author  21#
Last edited by Vitaly In 8/8/2017 17:48 Editor

Hi ,

  1. After "sudo service lightdm restart" Xorg log has not changed
  2. I wrote several times, I have a problem with the Ethernet network  in all this firmwares:

        https://drive.google.com/drive/f ... gAqAYVI4OVhvdjBkVFE



      dmesg errors


[    2.146007] systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
[    2.147732] systemd[1]: Failed to start Load Kernel Modules.
[    2.149092] systemd[1]: systemd-modules-load.service: Unit entered failed state.
[    2.150192] systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
[    2.151431] systemd[1]: Mounted Debug File System.
[    2.154007] usb 1-1.4: New USB device found, idVendor=093a, idProduct=2510
[    2.154623] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0



[    4.056685] CONFIG-ERROR) dhd_conf_set_fw_string_struct_cmd: country setting failed -2                                                                                                                                                            



[    1.654108] rockchip-spdif ff870000.spdif: Missing dma channel for stream: 0
[    1.654744] rockchip-spdif ff870000.spdif: ASoC: pcm constructor failed: -22
[    1.655403] asoc-simple-card spdif-sound: ASoC: can't create pcm ff870000.spif-dit-hifi :-22
[    1.656188] asoc-simple-card spdif-sound: ASoC: failed to instantiate card -22


[    1.211864] rk_tsadcv2_temp_to_code: Invalid conversion table: code=1023, temperature=2147483647



[    1.699712] EXT4-fs (mmcblk1p6): couldn't mount as ext3 due to feature incomp atibilities
[    1.700776] EXT4-fs (mmcblk1p6): couldn't mount as ext2 due to feature incomp atibilities
[    1.711362] EXT4-fs (mmcblk1p6): mounted filesystem with ordered data mode. Opts: (null)


[    4.190445] rk_gmac-dwmac fe300000.eth: rk_get_eth_addr_vendor: rk_vendor_read eth mac address: be:c1:cd:47:c9:51

  3. This  firmware  "http://pan.baidu.com/s/1c1UMMJm" doesn't work, as well as the firmware with my own compiled kernel does not work.      I can see the system log only through UsbToSerial adapter, because the system hangs at boot time
  4. On Android Ethernet worked fine but I need Ubuntu.
  5. Please answer me one question:
        I have two identical devices with same firmware. Why does one card work well and the second one does not?


Reply

Use props Report

1821

Credits

10

Prestige

17

Contribution

super moderator

Rank: 8Rank: 8

Credits
1821
Posted at 8/9/2017 09:47:04        Only Author  22#
Hi, that is a hardware issue.
the argument of "rx_delay" works in some batches ,but no in  other's  .
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-firefly-linux.dts b/arch/arm64/boot/dts/rockchip/rk3399-firefly-linux.dts
index 2e8466b..da0956e 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-firefly-linux.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3399-firefly-linux.dts
@@ -423,7 +423,7 @@
        pinctrl-names = "default";
        pinctrl-0 = <&rgmii_pins>;
        tx_delay = <0x28>;
-       rx_delay = <0x11>;
+       rx_delay = <0x1B>;
        status = "okay";
};
Reply

Use props Report

135

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
135
Posted at 9/14/2017 19:36:45        Only Author  23#
Hi, that is a hardware issue.


Hi,
When you plan to release an updated Ubuntu firmware?
Reply

Use props Report

135

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
135
Posted at 11/28/2017 19:06:28        Only Author  24#
With last firmware everything ok. Thx.
Reply

Use props Report

76

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
76
Posted at 12/21/2017 15:33:03        Only Author  25#
Fashion design may be the talent associated with applying style to entire body shapes so as to generate fashionable clothes. For you to achieve the globe of style and design you have to have the ability to do drawings and sketches.        factsfashion
A large amount of couples seem like they can use some professional assistance to strategy their desire wedding. Some couples seem like they need lots of help! Determining which kind of wedding professional to employ can end up being confusing, since each one of these can phone himself or even herself through whatever name they desire.        workwedding
It's the preconceived viewpoint that marriage is costly. The greatest expense will probably be the venue which could cost a collection fixed every day rate. You might be surprised to know that haggling with the buying price of the location        universitywedding
In order to create an superb income from being a wedding digital photographer, you don't just be regarded as a talented photographer or be considered a master of the camera. You should also find methods to demonstrate which to others.        supportwedding
One of the very important choices for wedding ceremony couples who're interested within preserving the actual memories of the wedding day would be to hire an expert wedding digital photographer. But it's quite typical for that wedding couple to prioritize about other things except who'll be their own wedding digital photographer.        studentwedding
Everything otherwise comes very first, the gown and tux, the actual bouquet, the actual reception. It's at their own bottom from the list who'll be within charged from the wedding pictures.        momswedding
Utilizing a marriage photographer is essential for anyone who is thinking about preserving memories of the special day time. While it's quite common for the wedding couple to be worried about various facets of their wedding like the flowers        knowwedding
Some individuals simply think that they'll just select a wedding photographer and also have their photos taken. In some instances, the wedding couple may decide to possess a family member or perhaps a close friend get to be the official wedding ceremony photographer for his or her special day time.        howwedding
Such elements as professionalism and reliability, experience and a chance to provide picture services in a variety of formats are simply some advantages of obtaining an expert wedding digital photographer.        answerwedding
Do you realize how numerous universal laws you will find? Or that they work? They're an historic and sincere guide in order to living spiritually, as you will find if you continue reading...        lawshowcase
What is actually law associated with attraction? This question has been around air going back decade because the theory of the law grew to become public following the release from the book "The Secret". In the following paragraphs the regulation of attraction may be mentioned within details        lawextreme
Everything relating to this universe is much more intelligent compared to we provide credit with regard to; it is indeed a dazzling coherence which run the lives. We're here in order to mould the actual energies in to matter as well as create as well as share Pleased Living.        lawcountry
The universe consists of distinct laws and regulations and concepts that control our life-style. Both achievement and failing are in your control. Despite your present condition, you'll be able to make a positive change in a person life and begin attracting much better things by utilizing these laws and regulations...        lawbucket
California is recognized as to have a few of the strictest weapon control laws in the united kingdom with around 950 gun laws currently essentially. Supporters associated with stricter weapon laws argue these laws are essential to suppress crime        lawadventure
       
Nearly all finance professions need you to definitely be excellent with quantities and learn about basic organization statistics. Let's take a look at some in the lucrative financial education options.        enterprise finance
Equity monetary means your dog owner, personal money as well as financial. Usually small scale business for instance partnerships in addition to sole proprietorships are usually operated via their operator trough their unique finance. Joint reveal companies operate depending on equity provides        anywhere finance
High technologies doesn't make reference to some class related to technology because an array of technology are actually considered hi-tech from 1 stage, before getting considered decreased tech as well as obsolete before long.        glam technology
Information systems generally describes all sorts of technology found in the improvement, storage, exchange and using data, conversation in addition to all multi-media kinds of communication. Together with computer systems constantly changing        get your technology
An description basically associated with 2G in addition to 3G Systems and precisely what they mean to suit your needs nowadays. Many times how 3G Mobile phones offer great benefits such because photo-editing, movie providing presentations and also the internet.        fake technology
There are actually great advancements inside the technology company over previous couple of years. Consumers that have been alive for your past 40 years have observed what have been once thought to be impossible are in fact so common they're thought.        naughty technology
In 1997 Mr. Clayton Erina. Christensen (The actual Harvard Organization School Instructor) introduces a fresh term "Disruptive Technology". He or she additionally explains which displaces the recognised technologies.        a mateur technology
Through the actual years, cooling bulk solids for instance sugar, fertilizer, chemical compounds, plastics, dried up biosolids, calcium deposits, and many other types related to grains, crystals in addition to bulk powders while using the traditional systems doesn't guarantee top quality final products.        that technology
Introduction related to new in addition to advanced techniques have brought a great revolution inside the digital planet. The systems of mobile comes beneath such superb technologies. Using mobiles is not any more restricted to the deliverance related to personal marketing communications.        my best technology
The physical exercise of systems transfer might greatly benefit a company. What is really technology proceed? Technology transfer could be the sharing related to technology in between several businesses.        find a technology
You cannot escape or avoid or utilizing technology. If you are not personally deploying it having the cell phone, or computer, technology is unquestionably touching and related to your day to day activities.        saver technology
Small businesses need to be in tune while using proper, up-to-date technologies. When they're utilizing aged, out-of-date technology as well as broken methods, then you need to do more harm than good along with your business tend to be affected as a result.        professor technology
Online customers who know the item that they wish to buy in addition to want to check out the finest competitive prices understand that the easiest and several reliable solution to do their very own online shopping would be to apply the actual service from the good evaluation shopping web site.        quiet shopping
Are you generating revenue with your personal Etsy Shop? Are a person researching methods to increase your personal Etsy Revenue? Are you considering getting a lot more exposure for that Etsy Shop?        project shopping
Ever thought about why there is never every day in time period when departmental shops are uncovered? Deeper evaluation will highlight that we now have specific clients who're popular using buying outlets for just two main elements: They generally want maintain most abundant in recent style developments        million dollar shopping
It occurs as simply no great surprise the way the shopping actions of horse owners have changed rapidly over time. This alter has mainly been brought on by the internet. Increasing levels of online include shops have popped upwards        get my shopping
Reply

Use props Report

173

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
173
Posted at 9/3/2018 05:40:00        Only Author  26#
Can someone update the rootfs image for SD card? Firefly-rk3399_xubuntu1604_SD_201705151725.img breaks ethernet with Firefly-RK3399-ubuntu16.04-20180416112819.img installed in the eMMC
Reply

Use props Report

173

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
173
Posted at 9/3/2018 12:06:46        Only Author  27#
Last edited by KD0OHR In 9/3/2018 12:10 Editor

An update on this, to get the updated kernel on an SD card use steps below:

"Upgrade Firmware" tab select the ubuntu image Firefly-RK3399-ubuntu16.04-20180416112819
boot the board and install tools you need, nano, htop, gparted etc, ONLY USE apt-get upgrade, do not dist-upgrade, it breaks mali graphics
reboot into loader/recovery mode
"Advanced Function" tab read the parameter.txt from 0x00000000 length 0x00000002 and use the length@address in the file for each entry kernel, trust etc to export images.
Remeber to rename ExportImage.img before exporting the next image
for rootfs, Use instructions found http://chinagadgetsreviews.blogs ... ndroidtool-v21.html to calculate how much to dump to get the rootfs
synopsis of rootfs section of link above, "ReadFlashInfo" eMMC size in MB multiply by 1024, multiply that result by 1024, divide the result by 512 (512b blocks)
start address is last line of the parameter.txt, mine was 0x0001A000, the length is the number calculated from the step above
read out your 15GB eMMC rootfs and expect this will take a while and copy it to a thumbdrive, it will need to be mounted and the contents copied to your SD later
to prepare the SD card, you'll need Firefly-rk3399_xubuntu1604_SD_201705151725
use disk imager to write the SD image to the microsd card
use a linux system or boot the board insert the sd card after booting and use gparted to expand the filesystem on the card, leaving the 56MB "unallocated" before the ext4 partition
partition label should be "root", flags should still have "msftfs" or something like that set when you wrote the .img file to the sd card
format the ext4 partition on the SD card, this will clear the rootfs so you can replace it with your updated base image
On your development computer or board, mount the 15GB rootfs "booot.img" sudo mount -o loop /path/to/boot.img /mountpoint
Copy the contents of the mounted directory, keeping permissions and properties, "sudo cp -rp /mountpoint /path/to/SD/card" on board it should automount as "/media/firefly/root"
power off and boot the board in recovery mode with SD installed, use AndroidTool "Advanced Fuction" tab

install parameter, trust, resource and kernel exported earlier. the parameter file looks the same as the emmc when you read starting from 0 and length 2
with eMMC or SD installed but the files written will have different sha sums. Use the parameter.txt read from the SD card to write back
write the parameter, trust, resource and kernel read from the eMMC to the addresses in the parameter file using the "Download Image" tab. mine looked like this:

0x00000000 parameter
0x00004000 trust
0x00006000 resource
0x0000E000 kernel

There may be some easier ways to do this but I struggled trying to do it for some time and this is what worked without writing lots of data to the SD card (100+gb sd card).
The eMMC on the RK3399 board is faster than most microSD cards so give it 30s or so after the blue light comes on before counting it as a failure and trying again
Reply

Use props Report

Return to List
123
You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list