Arjun

Members
  • Content Count

    17
  • Joined

  • Last visited

1 Follower

About Arjun

  • Rank
    Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hello friends, i have been build HelloWorld Linux application using Xilinx SDK cross compliler=C:\Xilinx\SDK\2017.4\gnu\aarch32\nt\gcc-arm-linux-gnueabi\bin\arm-linux-gnueabihf- after creating hello.elf .. I copy this file into sd card and then switch on my zybo board containing sd card (hello.elf) then after running Linux over zybo zynq soc, I tried to run hello.elf, but I am getting following error... zynq> hello.elf - /bin/ash: hello.elf: not found why it is saying not found ...what is meant by that... please reply if you have any solution regarding this issue. thanks regards Arjun
  2. hello everyone, I have been successfully run Xilinx Linux over zynq zybo, now I want to try to make a driver for custom IP like an 8bit adder. can anyone please tell me how to make Linux driver for any custom IP. what are the steps are required ... Thanks Arjun
  3. Arjun

    Bootz vs Bootm

    Thanks buddy... I hope I will get required answer Arjun
  4. Arjun

    Bootz vs Bootm

    Hey guys,, While booting Linux manually using sd card bootm command is not working.. After using bootm 0x100000 0x200000 0x300000 It is showing Linux kernel loading..... But when I am using bootz command then Linux is perfectly working.... For bootz I am using zImage in place of uImage.... But I want to boot linux using bootm command,, because when I am trying to boot linux automatically using sd card it is showing uImage is not available... It means in automatic mode it is not able to fetch zImage... I hope you are getting my point... Your reply will be very helpful for me.. Thanks Arjun..
  5. boot linux with SD card Hello guyz,, booting linux on zynq using JTAG has done .. now i am trying to boot linux on zynq using SD card ..but during making partition into sd card ..i am facing some problem ... i am giving following command ,,,but it is not working ........ SELinux: initialized (dev sdb1, type vfat), uses genfs_contexts [root@IITI boot]# dd if=/dev/zero of=/dev/sdb1 bs=1024 count=1 1+0 records in 1+0 records out 1024 bytes (1.0 kB) copied, 0.000232867 s, 4.4 MB/s [root@IITI boot]# fdisk -l /dev/sdb1 Disk /dev/sdb1: 15.9 GB, 15927345152 bytes 64 heads, 32 sectors/track, 15189 cylinders Units = cylinders of 2048 * 512 = 1048576 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 [root@IITI boot]# fdisk /dev/sdb1 Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel Building a new DOS disklabel with disk identifier 0x41b5dde3. Changes will remain in memory only, until you decide to write them. After that, of course, the previous content won't be recoverable. Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite) WARNING: DOS-compatible mode is deprecated. It's strongly recommended to switch off the mode (command 'c') and change display units to sectors (command 'u'). Command (m for help): o Building a new DOS disklabel with disk identifier 0x71a83ecf. Changes will remain in memory only, until you decide to write them. After that, of course, the previous content won't be recoverable. Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite) WARNING: DOS-compatible mode is deprecated. It's strongly recommended to switch off the mode (command 'c') and change display units to sectors (command 'u'). Command (m for help): w The partition table has been altered! Calling ioctl() to re-read partition table. WARNING: Re-reading the partition table failed with error 22: Invalid argument. The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8) Syncing disks. [root@IITI boot]# fdisk /dev/sdb1 WARNING: DOS-compatible mode is deprecated. It's strongly recommended to switch off the mode (command 'c') and change display units to sectors (command 'u'). Command (m for help): x Expert command (m for help): h Number of heads (1-256, default 64): 255 Expert command (m for help): s Number of sectors (1-63, default 32): 63 Warning: setting sector offset for DOS compatiblity Expert command (m for help): c Number of cylinders (1-1048576, default 15189): 1960 Expert command (m for help): r Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 1 First cylinder (1-1960, default 1): Using default value 1 Last cylinder, +cylinders or +size{K,M,G} (1-1960, default 1960): +200M Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 2 First cylinder (27-1960, default 27): Using default value 27 Last cylinder, +cylinders or +size{K,M,G} (27-1960, default 1960): Using default value 1960 Command (m for help): a Partition number (1-4): 1 Command (m for help): t Partition number (1-4): 1 Hex code (type L to list codes): c Changed system type of partition 1 to c (W95 FAT32 (LBA)) Command (m for help): t Partition number (1-4): 2 Hex code (type L to list codes): 83 Command (m for help): p Disk /dev/sdb1: 15.9 GB, 15927345152 bytes 255 heads, 63 sectors/track, 1960 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x1bbfc74f Device Boot Start End Blocks Id System /dev/sdb1p1 * 1 26 208813+ c W95 FAT32 (LBA) /dev/sdb1p2 27 1960 15534855 83 Linux Command (m for help): w The partition table has been altered! Calling ioctl() to re-read partition table. WARNING: Re-reading the partition table failed with error 22: Invalid argument. The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8) WARNING: If you have created or modified any DOS 6.x partitions, please see the fdisk manual page for additional information. Syncing disks. [root@IITI boot]# mkfs.vfat -F 32 -n boot /dev/sdb1p1 mkfs.vfat 3.0.9 (31 Jan 2010) /dev/sdb1p1: No such file or directory [root@IITI boot]# ############################################################################# I appreciate any comment or help Thanks Arjun
  6. Arjun

    booting linux by JTAG

    Thanks Jon,,, link provided by you is very helpful for me
  7. Arjun

    booting linux by JTAG

    hello everyone while booting linux using JTAG ...there is one issue,, after bootm command linux kernel image verify,,then similarly uramdisk image, device tree verify... then it show,,, loading kernel image ..... and then nothing is happening ,,i am attaching the image ,please find the attachment ,, and if possible then give me a solution for that issue Thanks Arjun
  8. hello, everyone, can anyone tell me about how much size of sd card, we can use in zybo board.. thanks Arjun
  9. Arjun

    related to ' c ' language

    hello guys, actually i want to assign char array value to int variable ,,, just like i want .. char myarray[4] = {'0','x','2','3'}; int i = atoi(myarray); printf("%d\n", i); it is printing 0,,, ----------------------------------------- but if i use value char myarray[4] = {'0','2','2','3'}; int i = atoi(myarray); printf("%d\n", i); then it is working .... can you guys please help me out from this problem ..... Thank-you Regards Arjun
  10. Arjun

    echo_server

    Hi, JON when i was using tpcb variable in xil_printf , i got something different, like if we are Receiving" Temperature", then "The Temperature is "should be Tx from zybo side, but this is not happening, i am attaching file , please focus on Tx data... tcp.pdf
  11. Arjun

    echo_server

    Hi, JON i know that the p->payload is responsible for receiving data (Temperature)at zybo zynq ps side , but i am not able to identify which variable is sending data(The Temperature is ) from zybo zynq ps side to PC, can you please tell me this thing. Thank-you Arjun.
  12. Arjun

    TCP header---Window Size

    can anyone please tell me , how to decide what will be window size of TCP , like 2048, 4096, 65536,, Thanks Arjun
  13. Arjun

    echo_server

    Thank-you ,,JON , its really helpfull for me ,
  14. Arjun

    echo_server

    can anyone please tell me which variable or function is responsible for receiving and echo back the received frame or packet, i am using echo server code from sdk , i read and analysis this code but i am getting any satisfactory results ,,, i am working on zybo zynq board , i am attaching main.c and echo.c file ,,, please find attachment ,,,, Thanks Arjun ethernet_main.c.pdf ethernet_echo.c.pdf
  15. Arjun

    zybo zynq ethernet

    can anyone please tell me , how many bytes can be transfer through ethernet controller at a time , from zybo zynq ethernet controller