copied from lavolp3's solution if statement checks if NOOBS OS is present by checking for mmcblk0p7 block. Then another cmdline.txt is needed, otherwise system would crash with a kernel panic
lcd driver