How can I add arch Linux device driver for Zedboard

How can I add arch Linux device driver for Zedboard

Postby vincentlau » Wed Dec 17, 2014 4:56 am

Hi all,
I am working with Zedboard,and it really works fine when I referred to the http://archlinuxarm.org/platforms/armv7/xilinx/zedboard.
However,I have to add FPGA bitstream for Linux drivers.I compiled u-boot via u-boot-digilent-2012.04-digilent-13.01,and renamed u-boot to u-boot.elf,created FPGA bitstream and FBSL( first stage bootloader) via xilinx vivado that I renamed them system.bit and FSBL.elf.And then I created BOOT.BIN based on that three files(u-boot.elf,system.bit,FSBL.elf).Further more,I compiled Linux zImage, devicetree.dtb via linux-digilent.
and then I put BOOT.BIN,zImage,devicetree.dtb to the first partiton of SDcard and put a linaro-precise-ubuntu file system to the second partition,it did work fine.
BUT,when I deleted anything of the second partiton and put ARCH Linux file system to the second partiton,I works failed.
The mistakes are below:
...
[ 1.110000] #0: HDMI monitor
[ 1.150000] fb0: frame buffer device
[ 1.150000] drm: registered panic notifier
[ 1.150000] [drm] Initialized analog_drm 1.0.0 20110530 on minor 0
[ 1.160000] mmc0: new high speed SDHC card at address b368
[ 1.170000] mmcblk0: mmc0:b368 SMI 3.69 GiB
[ 1.180000] mmcblk0: p1 p2
[ 1.180000] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
[ 1.240000] EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incompatibilities
[ 1.370000] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 1.380000] VFS: Mounted root (ext4 filesystem) on device 179:2.
[ 1.390000] devtmpfs: mounted
[ 1.390000] Freeing init memory: 152K
[ 1.690000] systemd[1]: Failed to mount tmpfs at /sys/fs/cgroup: No such file or directory

I browsed almost all subjects of the forum,but I coudn't find a solution.I really hope you can give me some advice.
Tank you very much!
Last edited by vincentlau on Fri Dec 19, 2014 6:12 am, edited 1 time in total.
vincentlau
 
Posts: 3
Joined: Wed Dec 17, 2014 3:32 am

Re: How can I add arch Linux device driver for Zednoard

Postby vincentlau » Thu Dec 18, 2014 1:01 am

Anyone can solve my problem?
vincentlau
 
Posts: 3
Joined: Wed Dec 17, 2014 3:32 am

Re: How can I add arch Linux device driver for Zednoard

Postby pepedog » Thu Dec 18, 2014 8:39 am

What kernel version is that?
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: How can I add arch Linux device driver for Zednoard

Postby kmihelich » Thu Dec 18, 2014 5:17 pm

You are likely missing configuration items in the kernel you built. Check your config against the requirements for systemd:
http://cgit.freedesktop.org/systemd/sys ... README#n37
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Re: How can I add arch Linux device driver for Zedboard

Postby vincentlau » Fri Dec 19, 2014 6:29 am

Tank @pepedog and @kmihelich very much!
I am sorry that I can not find where I can reply you respectively.
----> to pepedog
I have checkd the kernel version:
[root@alarm ~]# uname -r
3.6.0-digilent-13.01-00002-g06b3889-dirty
and I met a new problem!

----> to kmihelich
Tank you again!
I referred to http://cgit.freedesktop.org/systemd/sys ... README#n37
and I have successfully boot arch Linux on Zedboard.
Howerver,I met this problem :
....
Starting udev Kernel Device Manager...
[ OK ] Reached target Local File Systems (Pre).
[ OK ] Started udev Kernel Device Manager.
[ OK ] Found device /dev/ttyPS0.5]: Received request to flush runtime journal from PID 1
[ OK ] Reached target Sound Card.
[ OK ] Started Trigger Flushing of Journal to Persistent Storage.
[ ***] A start job is running for dev-mmcblk0p1.device (23s / 1min 30s)
I have to wait for 1min30s for every reboot.
Should I upgrade Linux kernel ?
vincentlau
 
Posts: 3
Joined: Wed Dec 17, 2014 3:32 am


Return to Xilinx

Who is online

Users browsing this forum: No registered users and 1 guest