-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
45 lines (31 loc) · 1009 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
U-Boot Build
make zynq_zybo_z7_defconfig
make
Artifacts:
spl/boot.bin -> boot.bin
u-boot.img -> u-boot.img
u-boot -> u-boot.elf
Kernetl Build
make ARCH=arm xilinx_zynq_defconfig
make ARCH=arm menuconfig
make ARCH=arm UIMAGE_LOADADDR=0x8000 uImage
Artifacts:
arch/arm/boot/uImage
arch/arm/boot/dts/zynq-zybo-z7.dtb
config u-boot
setenv bootargs root=/dev/mmcblk0p2
saveenv
boot Linux kernel from u-boot
Zynq> fatload mmc 0 0x03000000 uImage && fatload mmc 0 0x02A00000 zynq-zybo-z7.dtb && bootm 0x03000000 - 0x02A00000
Zynq> fatload mmc 0 0x02080000 uImage && fatload mmc 0 0x02000000 zynq-zybo-z7.dtb && bootm 0x02080000 - 0x02000000
Setup Ubuntu Image
debootstrup xenial
fstab /
proc /proc proc defaults 0 0
/dev/mmcblk0p1 /boot vfat defaults 0 2
/dev/mmcblk0p2 / ext4 defaults,noatime 0 1
getty ttyPS0
/etc/init/tty0.conf
modify from " exec /sbin/getty -8 38400 tty0" to "exec /sbin/getty -8 115200 ttyPS0"
/tmp permission check
chmod 1777 /tmp