I want to use rock pi as access point to a phone or tablet device. I followed this link - https://wiki.radxa.com/Rock/Wireless/AP_mode_manually#AP_mode.28RR_acts_as_wireless_router.29
From the wiki page :
" 1.2 Install toolchain.
1.3 Download the kernel from the address: root@radxa:/tmp# git clone -b radxa-stable-3.0 https://github.com/radxa/linux-rockchip.git
or download here
http://pan.baidu.com/s/1jfOTo (china)
Compile the driver
Attention please: first,ensure your kernel has been compiled"
— There are no instructions for kernel compilation.
I tried to follow the readme.txt and it throws the following error for ‘make’
rock@linux:~/linux-rockchip$ sudo make
[sudo] password for rock:
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: ‘include/generated/mach-types.h’ is up to date.
CC kernel/bounds.s
gcc: error: unrecognized argument in option ‘-mabi=apcs-gnu’
gcc: note: valid arguments to ‘-mabi=’ are: ilp32 lp64
gcc: error: unrecognized command line option ‘-mapcs’; did you mean ‘–specs’?
gcc: error: unrecognized command line option ‘-mno-sched-prolog’; did you mean ‘-Wno-sign-promo’?
gcc: error: unrecognized command line option ‘-msoft-float’
/home/rock/linux-rockchip/./Kbuild:35: recipe for target ‘kernel/bounds.s’ failed
make[1]: *** [kernel/bounds.s] Error 1
Makefile:999: recipe for target ‘prepare0’ failed
make: *** [prepare0] Error 2
please help with kernel compilation or suggesting other methods.
P.S - I have Ubuntu bionic image