====== Kernel ====== [[https://github.com/frank-w/BPI-R64-bsp/blob/390546b0df05998a293566a615fda47c936877c8/Makefile#L53|make-command]] * https://github.com/BPI-SINOVOIP/BPI-R64-bsp * [[https://github.com/frank-w/BPI-R2-4.14/tree/4.19-r64-main|4.19]] / [[https://github.com/frank-w/BPI-R2-4.14/tree/4.19-r64-main|5.4-rc]] * both switches working, currently no dsa-driver available * bluetooth untested (was working in 4.19) * no wifi driver available ===== debug ===== dev_info(gsw->dev,"%s:%d 0x%x",__FUNCTION__,__LINE__,val); printk(KERN_ALERT "DEBUG: Passed %s %d \n",__FUNCTION__,__LINE__); #define onelinedbg(dev,fmt,...) {if (dev) dev_info(dev,"%s:%d " fmt,__FUNCTION__,__LINE__,##__VA_ARGS__);else printk(KERN_INFO "%s:%d " fmt,__FUNCTION__,__LINE__,##__VA_ARGS__);} makefile: $(info $$var is [${var}])