diff --git a/ports-foc/run/linux_panda.run b/ports-foc/run/linux_panda.run new file mode 100644 index 0000000000..fd279ca445 --- /dev/null +++ b/ports-foc/run/linux_panda.run @@ -0,0 +1,127 @@ +assert_spec foc +assert_spec platform_panda + +# +# Build +# +build { + core + init + drivers/timer + drivers/framebuffer + drivers/sd_card + drivers/usb + server/nic_bridge + server/part_blk + l4linux +} + +create_boot_directory + +# +# Config +# +set config { + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +} + +install_config $config + +# +# Boot modules +# +set boot_modules { + core + init + timer + nic_bridge + part_blk + l4linux + initrd.gz + omap4_fb_drv + sd_card_drv + usb_drv +} + +set uri "https://github.com/downloads/skalk/genode/busybox-initrd-arm-20120710.gz" + +if {![file exists bin/initrd.gz]} { + puts "Download initramfs ..." + exec >& /dev/null wget -c -O bin/initrd.gz $uri +} + +build_boot_image [join $boot_modules " "] +