rafaello7 / linux-nanopi-m3-v4.14 Goto Github PK
View Code? Open in Web Editor NEW64-bit Linux kernel 4.14.x for NanoPi M3
License: Other
64-bit Linux kernel 4.14.x for NanoPi M3
License: Other
Linux kernel ============ This file was moved to Documentation/admin-guide/README.rst Please notice that there are several guides for kernel developers and users. These guides can be rendered in a number of formats, like HTML and PDF. In order to build the documentation, use ``make htmldocs`` or ``make pdfdocs``. There are various text files in the Documentation/ subdirectory, several of them using the Restructured Text markup notation. See Documentation/00-INDEX for a list of what is contained in each file. Please read the Documentation/process/changes.rst file, as it contains the requirements for building and running the kernel, and information about the problems which may result by upgrading your kernel.
Hello Rafaello7,
at first thank you for providing a working 64 kernel for the s5p6818 cpu. I'm using your kernel and it is working pretty fine!
I have a clone board, (graperain SBC) which is the same as nanopi-m3. They share the same CPU and components, except for 2GB of RAM. Im facing a small issue with the Realtek RTL8211E chip, it gets detected by the kernel but does not work. as you can see:
[ 2.168000] libphy: stmmac: probed
[ 2.168000] RTL8211E Gigabit Ethernet stmmac-0:00: attached PHY driver [RTL8211E Gigabit Ethernet] (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
[ 2.176000] RTL8211E Gigabit Ethernet stmmac-0:04: attached PHY driver [RTL8211E Gigabit Ethernet] (mii_bus:phy_addr=stmmac-0:04, irq=POLL)
Trying to get the iface up results:
root@S5P6818:~# ip link set eth0 up
RTNETLINK answers: No such device
[ 849.116000] nexell-dwmac c0060000.ethernet eth0: Could not attach to PHY
[ 849.116000] nexell-dwmac c0060000.ethernet eth0: stmmac_open: Cannot attach to PHY (error: -19)
Do you have any Idea what is happening? I'm guessing the DTS is not conformant to the board, may be they changed something?
Thank you for any Idea/hints!
I did not find 64bit mono with hard floating point
So I hope to find a 32-bit 4. * version of the kernel
Hi @rafaello7 ,
I received a couple of S430 LCD recently and gave it try with your kernel 4.14.7+ but seems not working properly.
The S430 is detected and started displaying the kernel loading for a few seconds ( ~2 s ) and a blank screen suddenly follows.
The same kernel works fine with X710.
Kernel 4.14 finds the correct LCD:
},{
.name = "s430",
.onewireType = 31,
.i2c_touch_drv = "hx8528-a",
.i2c_touch_reg = 0x48,
.bpc = 8,
.p_width = 108,
.p_height = 64,
.mode = &mode_s430,
},{
static const struct drm_display_mode mode_s430 = {
.clock = 28492,
.hdisplay = 480,
.hsync_start = 480 + 64,
.hsync_end = 480 + 64 + 16,
.htotal = 480 + 64 + 16 + 0,
.vdisplay = 800,
.vsync_start = 800 + 32,
.vsync_end = 800 + 32 + 16,
.vtotal = 800 + 32 + 16 + 0,
.vrefresh = 60,
.flags = DRM_MODE_FLAG_NCSYNC
};
These are the timings for the kernel 4.4:
static struct lcd_desc s430 = {
.width= 480,
.height = 800,
.p_width = 108,
.p_height = 64,
.bpp = 24,
.freq = 60,
.timing = {
.h_fp = 64,
.h_bp = 0,
.h_sw = 16,
.v_fp = 32,
.v_fpe = 1,
.v_bp = 0,
.v_bpe = 1,
.v_sw = 16,
},
.polarity = {
.rise_vclk = 1,
.inv_hsync = 1,
.inv_vsync = 1,
.inv_vden = 0,
},
};
Do you have any idea what could cause this issue?
Appreciate if you can help.
Cheers
Hello,
As the NanoPi M3 is not sold anymore by FriendlyARM, the current replacement seems to be NanoPi Fire3-LTS: http://www.friendlyarm.com/index.php?route=product/product&product_id=206&search=S5P6818&description=true&category_id=0&sub_category=true
http://wiki.friendlyarm.com/wiki/index.php/NanoPi_Fire3
Using the same S5P6818 SoC.
Will this kernel (and the related Debian installer) work on that board?
And maybe consider renaming projects to something more generic like "Linux-S5P6818" if it will?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.