[meta-xilinx] meta-zynq

Edward Vidal vidal.develone at gmail.com
Wed Jan 8 15:15:13 PST 2014


Hi all,
Continued to get autorun.scr loaded
modified the file
meta-zynq/recipes-bsp/bootscripts/sd-bootscript/autorun.scr
with kernel_addr(0x00008000), kernel_image(uImage), and
devicetree_image(devicetree.dtb)
mkimage -l tmp/deploy/images/zedboard/uImage
Image Name:   Linux-3.12.0
Created:      Wed Jan  8 07:55:39 2014
Image Type:   ARM Linux Kernel Image (uncompressed)
Data Size:    3121608 Bytes = 3048.45 kB = 2.98 MB
Load Address: 00008000
Entry Point:  00008000

echo "Load kernel from SD card..."
fatload mmc 0 0x00008000 uImage
fatload mmc 0 0x2A00000 devicetree.dtb
setenv bootargs "console=ttyPS0,115200 root=/dev/mmcblk0p2 rw
rootfstype=ext4 rootwait"
echo "Booting..."
bootm 0x00008000 - 0x2A00000
MACHINE=zedboard bitbake -c clean sd-bootscript &
MACHINE=zedboard bitbake sd-bootscript is these commands the correct ones
to regenerate the autorun.scr.

hexdump -C tmp/deploy/images/zedboard/autorun.scr
00000000  27 05 19 56 c2 56 ef bc  52 cd c7 9f 00 00 00 fa
|'..V.V..R.......|
00000010  00 00 00 00 00 00 00 00  0e 5b 5f 49 05 02 06 00
|.........[_I....|
00000020  61 75 74 6f 72 75 6e 00  00 00 00 00 00 00 00 00
|autorun.........|
00000030  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
|................|
00000040  00 00 00 f2 00 00 00 00  65 63 68 6f 20 22 4c 6f  |........echo
"Lo|
00000050  61 64 20 6b 65 72 6e 65  6c 20 66 72 6f 6d 20 53  |ad kernel from
S|
00000060  44 20 63 61 72 64 2e 2e  2e 22 0a 66 61 74 6c 6f  |D
card...".fatlo|
00000070  61 64 20 6d 6d 63 20 30  20 30 78 30 30 30 30 38  |ad mmc 0
0x00008|
00000080  30 30 30 20 75 49 6d 61  67 65 20 0a 66 61 74 6c  |000 uImage
.fatl|
00000090  6f 61 64 20 6d 6d 63 20  30 20 30 78 32 41 30 30  |oad mmc 0
0x2A00|
000000a0  30 30 30 20 64 65 76 69  63 65 74 72 65 65 2e 64  |000
devicetree.d|
000000b0  74 62 0a 73 65 74 65 6e  76 20 62 6f 6f 74 61 72  |tb.setenv
bootar|
000000c0  67 73 20 22 63 6f 6e 73  6f 6c 65 3d 74 74 79 50  |gs
"console=ttyP|
000000d0  53 30 2c 31 31 35 32 30  30 20 72 6f 6f 74 3d 2f  |S0,115200
root=/|
000000e0  64 65 76 2f 6d 6d 63 62  6c 6b 30 70 32 20 72 77  |dev/mmcblk0p2
rw|
000000f0  20 72 6f 6f 74 66 73 74  79 70 65 3d 65 78 74 34  |
rootfstype=ext4|
00000100  20 72 6f 6f 74 77 61 69  74 22 0a 65 63 68 6f 20  |
rootwait".echo |
00000110  22 42 6f 6f 74 69 6e 67  2e 2e 2e 22 0a 62 6f 6f
|"Booting...".boo|
00000120  74 6d 20 30 78 30 30 30  30 38 30 30 30 20 2d 20  |tm 0x00008000
- |
00000130  30 78 32 41 30 30 30 30  30 0a                    |0x2A00000.|
0000013a

Still does not load the files uImage and devicetree.dtb.  Does not set the
bootargs variable or boots to the kernel.  Is the name autorun.scr okay?
what can you do in u-boot to force this to happen

Any any all help is welcomed.
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-xilinx/attachments/20140108/fb09f0d8/attachment.html>


More information about the meta-xilinx mailing list