Author Topic: Install Debian on Zynqberry  (Read 217 times)

Deepak

  • Active Member
  • *
  • Posts: 12
Install Debian on Zynqberry
« on: February 06, 2021, 03:54:17 PM »
Hello,

I managed to install petalinux in zynqberry board (TE0726-03M). But i want to use apt commands in my board, so i want to install Debian Linux.
I followed this steps of ZynqberryDemo2 reference in the wiki.

https://wiki.trenz-electronic.de/display/PD/TE0726+Zynqberry+Demo2

I created image.ub, system.dtb and programmed the flash with BOOT.bin. I ran the "mkdebian_Demo2_stretch.sh" script and it created a debian image "te0726-debian.img".

I created two partitions Boot (FAT32) and root (ext4). In Boot partition copied the image.ub, system.dtb (from <petalinux_directory>/images/linux/ ) and in root partition extracted the rootfs.tar.gz (from <petalinux_directory>/images/linux/rootfs.tar.gz).
Now i am not aware where I should copy my debian image "te0726-debian.img" which was created.

Could someone help me how I should get debian running on the board.

This is my first project with Zynq devices and I guess this maybe a trivial doubt but I sincerely hope someone would help me through this.
Thanks in advance.

JH

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1623
Re: Install Debian on Zynqberry
« Reply #1 on: February 08, 2021, 06:27:09 AM »
Hi,


https://wiki.trenz-electronic.de/display/PD/TE0726+Zynqberry+Demo2#TE0726ZynqberryDemo2-Programming

--> Write whole clean SD card with the Debian image or Ubuntu image file on SD Card with Win32DiskImager and your generated "te0726-debian.img".

It will setup all partitions filesystem correctly. Copy the image.ub on the fat 32 partion and Boot.bin in QSPI.

br
John