Since i have already setup the tftp server i just need to copy the kernel image into the tftpboot directory. This creates the linux kernel image which can be loaded into the pandaboard which is already running the locally compiled u-boot. Now that we have appended the zImage with DTB we can now create the kernel image which u-boot can recognize and load. Run the below command to create single image which has both zImage and the dtb.Ĭat arch/arm/boot/zImage arch/arm/boot/dts/omap4-panda-es.dtb > kernel_image In a single command let us compile both kernel image and device tree blobs. Save the config and run “ make zImage dtbs“. SMSC 95xx driver Host controller options Build zImage & dtbs configįew tweaks needs to be done so now run “ make menuconfig” and select the SMSC 95xx USB adaptor driver and host controller details (see the attached images). Inside the untarred linux src directory copy the config file available from arch/arm/configs/omap2plus_defconfig to. Wget -c & tar xf linux-4.14.tar.xz Setup the config file Fourth Step: Linux kernel Clone and untar the Source Start the xinetd service which in turn starts the tftp server.įor executing the above commands you need root access. Now create the directory by the name “ /tftpboot” (any directory name can be used) and provides read and write to permissions to all the users.Ĭhmod -R 777 /tftpboot chown -R nobody /tftpboot Then create the config file “ /etc/xinetd.d/tftp” and add the below contents. Install the packages using “ sudo apt-get install xinetd tftpd tftp“. Third Step: Setup TFTP server on ubuntu and its clones I have stopped at the u-boot prompt as i wanted to load linux kernel 4.14 built for pandaboard from tftp server. *** Warning – bad CRC, using default environment SPL: Please implement spl_start_uboot() for your board I got the below log when i did the above steps. Now insert the SD card into the SD card slot of pandaboard and power it up. Lets sync the SD card with the “ sync” command. Pls note for this we need an SD card with a FAT32 partition marked with bootable flag. Lets copy these images into the SD Cards boot partition. Now we have the stage 1 boot loader image “ MLO” and stage 2 boot loader image “ u-boot.img“. Make omap4_panda_defconfig Fire Make to start compilation config file which is used for compilation. Header file at the location “ include/configs/omap4_panda.h” helps us to create the. First Step: Setup the toolchainĮxport ARCH=arm export CROSS_COMPILE=arm-none-linux-gnueabi- Įxport PATH=/bin/:$PATH Second Step: Uboot Clone the source: I am pretty sure in the latest kernel also WLAN won’t work but i will just give it a try. Previously i was running 3.x versions of vanilla kernels in which WLAN didn’t work. It has an DB9 serial interface which can be connected to the development host and the serial logs can be accessed using minicom. This board need a 5V/2A power supply to boot it. It also includes an HDMI interface, wired 10/100 Ethernet, WLAN and Bluetooth connectivity. It has two USB host ports and one USB OTG port. It has ARM Cortex-A9 MPCore and 1Gig of DDR2 RAM. Pls refer to my previous blog to create a rootfs for ARM clones. This filesystem was built using the ever trustable buildroot. There are few more steps which needs to be carried out from the u-boot prompt other than setting up of the IP addresses for loading the linux kernel image.Īnd also i am going to use NFS for root filesystem. In this blog post i am going to use my development host as the tftp server and load kernel image from there. Needed features) then we need to stop at the u-boot prompt then setup the IP parameters so that pandaboard can reach the machine in which tftp server is running. But if you want to load the kernel image from tftp server (which we basically do to confirm whether the kernel image is booting fine with the Everything works fine when you have properly formated the SD card (yes, this board has only SD card slot and not micro SD card slot) loaded the known/working u-boot, kernel and filesystem images into it. Initially i want to check whether the latest u-boot and linux kernel works as expected in the pandaboard. It has been quite some time since i have done something useful with it. I have had the pandaboard for almost 7 years which i basically bought to do some experiments in WLAN and to know more about how ARM multicore works.
0 Comments
Leave a Reply. |