Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Question about Booting ZCU012 using XZD
#11
(03-02-2016, 03:45 PM)jarvis_roach Wrote: Ching-Ho,

That might be your problem. Be sure to copy the xen-zcu102.dtb as the xen.dtb in your /tftpboot/ directory.

4.2.2:
$ cp $RELEASE_DIR/dist/images/linux/xen-zcu102.dtb /tftpboot/xen.dtb

`cat /tftpboot/xen.dtb | grep rootdelay` should return `Binary file (standard input) matches`.

-Jarvis

Jarvis,

We went through the steps again in Section 4.2 and used your cat command to ensure that the correct .dtb was used.  We still got the same error when initializing MMC (SD card).  Sad

Thanks,

Ching-Ho
Reply
#12
Ching-Ho,

Does `cat /tftpboot/xen.dtb | grep rootdelay` return `Binary file (standard input) matches`? If not, can you do a `ls -l /tftpboot/` and post the result or even attach your xen.dtb file so we can take a look at.


Regards,

-Jarvis
Reply
#13
(03-02-2016, 04:37 PM)jarvis_roach Wrote: Ching-Ho,

Does `cat /tftpboot/xen.dtb | grep rootdelay` return `Binary file (standard input) matches`?  If not, can you do a `ls -l /tftpboot/` and post the result or even attach your xen.dtb file so we can take a look at.


Regards,

-Jarvis

Jarvis,

Yes, we used the cat command and got `Binary file (standard input) matches`.  I attached the xen.dtb for you to look at.

Thanks,

Ching-Ho

P.S.  Attachment did not allow .dtb extension.  I renamed xen.dtb to xen.txt.


Attached Files
.txt   xen.txt (Size: 19.78 KB / Downloads: 2)
Reply
#14
Jarvis,

What size of the File System in SD card should I look for after executing "dd" command ? I just redid the "dd" command to convert and copy over dom0.img to SD card (the same SD card). I got disk full error from dd command after more than 15 minutes. I could see the file system in SD card but size-wise, it was about 18 MB. The whole SD card was "full".

When I first did the "dd" command yesterday, file system size was about 184 MB. Now, after I redid the "dd" command on the same SD card, it changed to 18 MB file size.

Which size is correct ? If both are wrong size, what is the size that I am looking for after "dd" command ?

Another question is that, my host machine does not have SD card slot. We used an USB/SD adapter. When we did "dmesg", we saw that SD card was sdb and sdb1. Both seem refer to same SD card. Which device name should be use in "dd" command ?

Thanks,

Ching-Ho
Reply
#15
Ching-Ho,

The dom0.img is 7.5GB, when I mount it as a loopback device on my Linux host I see that it uses 5.2G. The dd operation will take awhile, on my system it's copying over at a rate of 3.3 MB/s, so I except it'll take 30 to 40 minutes. I'll grab stats from it when it's done, but it sounds like the operation to get the filesystem to your SD card isn't working. What size is your SD card?

/dev/sdb is the device you want to target with the dd command.

-Regards,

-Jarvis
Reply
#16
Ching-Ho,

A 'df -h' on a system with the SD card mounted shows:

Filesystem Size Used Avail Use%
/dev/sdb1 6.9G 322M 6.3G 5%


So even the 184 MB you were getting before seems abnormal.
Reply
#17
(03-03-2016, 01:07 PM)jarvis_roach Wrote: Ching-Ho,

The dom0.img is 7.5GB, when I mount it as a loopback device on my Linux host I see that it uses 5.2G. The dd operation will take awhile, on my system it's copying over at a rate of 3.3 MB/s, so I except it'll take 30 to 40 minutes. I'll grab stats from it when it's done, but it sounds like the operation to get the filesystem to your SD card isn't working. What size is your SD card?

/dev/sdb is the device you want to target with the dd command.

-Regards,

-Jarvis

Jarvis,

We are using the SD card that came with eval board - 8GB micro SD card.

Thanks,

Ching-Ho

(03-03-2016, 03:11 PM)jarvis_roach Wrote: Ching-Ho,

A 'df -h' on a system with the SD card mounted shows:

Filesystem                              Size  Used Avail Use%
/dev/sdb1                               6.9G  322M  6.3G   5%


So even the 184 MB you were getting before seems abnormal.
Jarvis,

Thank you for the file system size information.  We will make sure that we get similar file system in our SD card - 322 MB.  We will report back our findings....

Thanks,

Ching-Ho
Reply
#18
(03-03-2016, 09:31 PM)lcc014 Wrote:
(03-03-2016, 01:07 PM)jarvis_roach Wrote: Ching-Ho,

The dom0.img is 7.5GB, when I mount it as a loopback device on my Linux host I see that it uses 5.2G. The dd operation will take awhile, on my system it's copying over at a rate of 3.3 MB/s, so I except it'll take 30 to 40 minutes. I'll grab stats from it when it's done, but it sounds like the operation to get the filesystem to your SD card isn't working. What size is your SD card?

/dev/sdb is the device you want to target with the dd command.

-Regards,

-Jarvis

Jarvis,

We are using the SD card that came with eval board - 8GB micro SD card.

Thanks,

Ching-Ho

(03-03-2016, 03:11 PM)jarvis_roach Wrote: Ching-Ho,

A 'df -h' on a system with the SD card mounted shows:

Filesystem                              Size  Used Avail Use%
/dev/sdb1                               6.9G  322M  6.3G   5%


So even the 184 MB you were getting before seems abnormal.
Jarvis,

Thank you for the file system size information.  We will make sure that we get similar file system in our SD card - 322 MB.  We will report back our findings....

Thanks,

Ching-Ho

Hi Jarvis,

I am assisting Ching-Ho.

Here are the "df -h" from two different SD cards, after running the "dd" with the input as "$RELEASE_DIR/dist/images/dom0.img"
 
  Filesystem      Size  Used Avail Use% Mounted on
  /dev/sdb1       6.9G  4.4G  2.2G  67% /media/test/bb1d89cc-fe7b-4c91-ad5c-477c805d068f
  /dev/sdc1       6.9G  4.4G  2.2G  67% /media/test/bb1d89cc-fe7b-4c91-ad5c-477c805d068f

-Will

(03-04-2016, 07:49 PM)wmurwin Wrote:
(03-03-2016, 09:31 PM)lcc014 Wrote:
(03-03-2016, 01:07 PM)jarvis_roach Wrote: Ching-Ho,

The dom0.img is 7.5GB, when I mount it as a loopback device on my Linux host I see that it uses 5.2G. The dd operation will take awhile, on my system it's copying over at a rate of 3.3 MB/s, so I except it'll take 30 to 40 minutes. I'll grab stats from it when it's done, but it sounds like the operation to get the filesystem to your SD card isn't working. What size is your SD card?

/dev/sdb is the device you want to target with the dd command.

-Regards,

-Jarvis

Jarvis,

We are using the SD card that came with eval board - 8GB micro SD card.

Thanks,

Ching-Ho

(03-03-2016, 03:11 PM)jarvis_roach Wrote: Ching-Ho,

A 'df -h' on a system with the SD card mounted shows:

Filesystem                              Size  Used Avail Use%
/dev/sdb1                               6.9G  322M  6.3G   5%


So even the 184 MB you were getting before seems abnormal.
Jarvis,

Thank you for the file system size information.  We will make sure that we get similar file system in our SD card - 322 MB.  We will report back our findings....

Thanks,

Ching-Ho

Hi Jarvis,

I am assisting Ching-Ho.

Here are the "df -h" from two different SD cards, after running the "dd" with the input as "$RELEASE_DIR/dist/images/dom0.img"
 
  Filesystem      Size  Used Avail Use% Mounted on
  /dev/sdb1       6.9G  4.4G  2.2G  67% /media/test/bb1d89cc-fe7b-4c91-ad5c-477c805d068f
  /dev/sdc1       6.9G  4.4G  2.2G  67% /media/test/bb1d89cc-fe7b-4c91-ad5c-477c805d068f

-Will

Hi Jaris,

I am attaching the console output from the ZCU102 uart.


Attached Files
.txt   03042015_xen_boot.txt (Size: 24.74 KB / Downloads: 8)
Reply
#19
(03-04-2016, 07:49 PM)wmurwin Wrote:
(03-03-2016, 09:31 PM)lcc014 Wrote:
(03-03-2016, 01:07 PM)jarvis_roach Wrote: Ching-Ho,

The dom0.img is 7.5GB, when I mount it as a loopback device on my Linux host I see that it uses 5.2G. The dd operation will take awhile, on my system it's copying over at a rate of 3.3 MB/s, so I except it'll take 30 to 40 minutes. I'll grab stats from it when it's done, but it sounds like the operation to get the filesystem to your SD card isn't working. What size is your SD card?

/dev/sdb is the device you want to target with the dd command.

-Regards,

-Jarvis

Jarvis,

We are using the SD card that came with eval board - 8GB micro SD card.

Thanks,

Ching-Ho

(03-03-2016, 03:11 PM)jarvis_roach Wrote: Ching-Ho,

A 'df -h' on a system with the SD card mounted shows:

Filesystem                              Size  Used Avail Use%
/dev/sdb1                               6.9G  322M  6.3G   5%


So even the 184 MB you were getting before seems abnormal.
Jarvis,

Thank you for the file system size information.  We will make sure that we get similar file system in our SD card - 322 MB.  We will report back our findings....

Thanks,

Ching-Ho

Hi Jarvis,

I am assisting Ching-Ho.

Here are the "df -h" from two different SD cards, after running the "dd" with the input as "$RELEASE_DIR/dist/images/dom0.img"
 
  Filesystem      Size  Used Avail Use% Mounted on
  /dev/sdb1       6.9G  4.4G  2.2G  67% /media/test/bb1d89cc-fe7b-4c91-ad5c-477c805d068f
  /dev/sdc1       6.9G  4.4G  2.2G  67% /media/test/bb1d89cc-fe7b-4c91-ad5c-477c805d068f

-Will

(03-04-2016, 07:49 PM)wmurwin Wrote:
(03-03-2016, 09:31 PM)lcc014 Wrote:
(03-03-2016, 01:07 PM)jarvis_roach Wrote: Ching-Ho,

The dom0.img is 7.5GB, when I mount it as a loopback device on my Linux host I see that it uses 5.2G. The dd operation will take awhile, on my system it's copying over at a rate of 3.3 MB/s, so I except it'll take 30 to 40 minutes. I'll grab stats from it when it's done, but it sounds like the operation to get the filesystem to your SD card isn't working. What size is your SD card?

/dev/sdb is the device you want to target with the dd command.

-Regards,

-Jarvis

Jarvis,

We are using the SD card that came with eval board - 8GB micro SD card.

Thanks,

Ching-Ho

(03-03-2016, 03:11 PM)jarvis_roach Wrote: Ching-Ho,

A 'df -h' on a system with the SD card mounted shows:

Filesystem                              Size  Used Avail Use%
/dev/sdb1                               6.9G  322M  6.3G   5%


So even the 184 MB you were getting before seems abnormal.
Jarvis,

Thank you for the file system size information.  We will make sure that we get similar file system in our SD card - 322 MB.  We will report back our findings....

Thanks,

Ching-Ho

Hi Jarvis,

I am assisting Ching-Ho.

Here are the "df -h" from two different SD cards, after running the "dd" with the input as "$RELEASE_DIR/dist/images/dom0.img"
 
  Filesystem      Size  Used Avail Use% Mounted on
  /dev/sdb1       6.9G  4.4G  2.2G  67% /media/test/bb1d89cc-fe7b-4c91-ad5c-477c805d068f
  /dev/sdc1       6.9G  4.4G  2.2G  67% /media/test/bb1d89cc-fe7b-4c91-ad5c-477c805d068f

-Will

Hi Jaris,

I am attaching the console output from the ZCU102 uart.


Hi Jarvis,

I also noticed in that console output the following errors from XEN:

 (XEN) GICv2: 192 lines, 4 cpus, secure (IID 0200143b).
 (XEN) GICv2: WARNING: CPU0: Failed to configure IRQ26 as Edge-triggered. H/w forces to Level-triggered.
 (XEN) GICv2: WARNING: CPU0: Failed to configure IRQ27 as Edge-triggered. H/w forces to Level-triggered.
 (XEN) GICv2: WARNING: CPU0: Failed to configure IRQ30 as Edge-triggered. H/w forces to Level-triggered.


Are these interrupts being used by the SD Card ?

-Will
Reply
#20
Will,

The Xen warnings are typical, we get them too. I believe they are related to the maintenance and timer interrupts.

With a different SD (that hasn't been tested with the ZCU), I also get some different `df -u` results:

/dev/sdb1 6.9G 5.2G 1.4G 80%

so that's something that could use some investigation.


Did you have any better luck with your SD cards showing higher usage?


-Jarvis
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)