GCNANO: 6.4.7
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com> Change-Id: I60d9ee20918ecf97efaa0cacb1621cf215fed3dc
This commit is contained in:
1 parent
6082bf29b5
commit
ded2a2667c
11 files changed
+383
-220
No files matched your search
@@ -0,0 +1,39 @@
|
||||
Compilation of the gcnano kernel module:
|
||||
1. Pre-requisite
|
||||
2. Compile the gcnano kernel module
|
||||
3. Update software on board
|
||||
|
||||
----------------
|
||||
1. Pre-requisite
|
||||
----------------
|
||||
- OpenSTLinux SDK must be installed.
|
||||
- Linux Kernel source must be installed and built
|
||||
|
||||
----------------
|
||||
2. Compile the gcnano kernel module
|
||||
----------------
|
||||
OpenSTLinux SDK must be installed.
|
||||
|
||||
* Compile and install the gcnano kernel module
|
||||
$> tar xf ##BP##-##PR##.tar.xz
|
||||
$> cd ##GCNANO_TARNAME##
|
||||
$> KERNEL_BUILDDIR="../../kernel/kernel-sources"
|
||||
* Build kernel module
|
||||
$> make ARCH=arm SOC_PLATFORM=st-st DEBUG=0 O="${KERNEL_BUILDDIR}" M="${PWD}" AQROOT="${PWD}" -C ${KERNEL_BUILDDIR}
|
||||
|
||||
---------------------------
|
||||
3. Update software on board
|
||||
---------------------------
|
||||
|
||||
3.1 Update via network
|
||||
----------------------
|
||||
Copy kernel modules:
|
||||
$ scp galcore.ko root@<ip of board>:/lib/modules/<kernel version>/extra
|
||||
|
||||
Generate a list of module dependencies (modules.dep) and a list of symbols
|
||||
provided by modules (modules.symbols):
|
||||
$ ssh root@<ip of board> /sbin/depmod -a
|
||||
Synchronize data on disk with memory
|
||||
$ ssh root@<ip of board> sync
|
||||
Reboot the board in order to take update into account
|
||||
$ ssh root@<ip of board> reboot
|
||||
Reference in new issue
Block a user