Move libs-device to osccal
makefile (mostly) working for bootloader
update flash target