OpenNuvoton / NUC970_Linux_Kernel

Linux Kernel Source Code for NUC970 Series Microprocessor
Other
68 stars 69 forks source link

HMI-N9H30 board kernel config #77

Open Barmallini opened 1 year ago

Barmallini commented 1 year ago

Please, provide kernel konfig for this board. With config from NUC970 kernel does not load (stuck) log

ychuang3 commented 1 year ago

Hi, Do you build the kernel with buildroot? Please find buildroot: https://github.com/OpenNuvoton/NUC970_Buildroot and select the defconfig $make nuvoton_n9h30_emwin_defconfig $make

Barmallini commented 1 year ago

Where did you do find nuvoton_n9h30_emwin_defconfig file?

вт, 14 мар. 2023 г., 18:43 ychuang3 @.***>:

Hi, Do you build the kernel with buildroot? Please find buildroot: https://github.com/OpenNuvoton/NUC970_Buildroot and select the defconfig $make nuvoton_n9h30_emwin_defconfig $make

— Reply to this email directly, view it on GitHub https://github.com/OpenNuvoton/NUC970_Linux_Kernel/issues/77#issuecomment-1468347371, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACWTZDE47GQPXDGI7M4CNKLW4CG2PANCNFSM6AAAAAAV2IMZAU . You are receiving this because you authored the thread.Message ID: @.***>

Barmallini commented 1 year ago

Actually, it starts ok when i copy /etc folder from board to target

ychuang3 commented 1 year ago

Looks like your image lost rootfs. I still suggest to use buidlroot,and please just have a look at the README of NUC970_buildroot. You can find nuvoton_n9h30_emwin_defconfig in configs folder. I guess you did not try "make nuvoton_n9h30_emwin_defconfig" as I have suggested.

Barmallini commented 1 year ago

finally, i'm solve my troubles:

  1. downloaded vmware image for nuc980
  2. git clone https://github.com/OpenNuvoton/NUC970_Buildroot inside VM
  3. make nuvoton_n9h30_emwin_defconfig
  4. make

all builded without errors (except no networking support, ifup -a runs lo only) Result: Linux version 3.10.108 (user@ubuntu) (gcc version 4.8.5 (Buildroot 2016.11.1-gfaa664b) )

buildroot for nuc980 have version of Linux 4.4, but does not have support for N9H30. how to merge configs? image builded for NUC980 does not work on HMI-N9H30 board (no output to console) Linux 3.1 is really old

ychuang3 commented 1 year ago

nuc980 linux 4.4 does not include any driver support for n9h30. Not supported. No plans about migrate n9h30 to latest kernel version in the near future.

Barmallini commented 1 year ago

little offtopic then, is it possible to buy MA35D1 ? if N9H30 out of support, what next? what will be supported nearest 5 years and available to buy? NUC980?