[opensuse-arm] cuboxi tumbleweed images don't boot
![](https://seccdn.libravatar.org/avatar/df4885692bbfc153cb18e6dc9df26326.jpg?s=120&d=mm&r=g)
Hi, I tried to use the Tumbleweed images from [1] but the image does not boot. Here's the output during boot: U-Boot SPL 2013.10-rc4 (Oct 16 2015 - 05:16:01) Boot Device: SD1 spl: error reading image u-boot.img, err - -1 Load image from RAW... U-Boot 2013.10-rc4 (Oct 16 2015 - 05:16:01) CPU: Freescale i.MX6Q rev1.2 at 792 MHz Reset cause: POR Board: MX6-CuBox-i DRAM: 2 GiB MMC: FSL_SDHC: 0 *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Net: FEC [PRIME] Hit any key to stop autoboot: 0 mmc0 is current device 2762 bytes read in 34 ms (79.1 KiB/s) Running bootscript from mmc ... ## Executing script at 10800000 mmc0 is current device 7163544 bytes read in 492 ms (13.9 MiB/s) 49298053 bytes read in 2897 ms (16.2 MiB/s) ** File not found dtb/call_autodetectfdt ** Kernel image @ 0x10800100 [ 0x000000 - 0x6d4e98 ] ## Loading init Ramdisk from Legacy Image at 14800100 ... Image Name: Initrd Image Type: ARM Linux RAMDisk Image (uncompressed) Data Size: 49297989 Bytes = 47 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ERROR: Did not find a cmdline Flattened Device Tree Could not find a valid device tree ** File not found /boot/boot.scr ** ** File not found /boot/uEnv.txt ** ** File not found /boot/zImage ** ** File not found /boot/uImage ** Booting from net ... FEC Waiting for PHY auto negotiation to complete......... TIMEOUT ! Could not initialize PHY FEC FEC Waiting for PHY auto negotiation to complete......... TIMEOUT ! Could not initialize PHY FEC FEC Waiting for PHY auto negotiation to complete......... TIMEOUT ! Could not initialize PHY FEC Booting uImage ## Booting kernel from Legacy Image at 10800000 ... Image Name: Boot-Script Image Type: ARM Linux Script (uncompressed) Data Size: 2698 Bytes = 2.6 KiB Load Address: 00000000 Entry Point: 00000000 Contents: Image 0: 2690 Bytes = 2.6 KiB Verifying Checksum ... Bad Data CRC ERROR: can't get kernel image! CuBox-i U-Boot > Evironment is: CuBox-i U-Boot > printenv autoboot=echo Booting ${boot_file}; if test ${boot_file} = zImage; then bootz ${loadaddr} ${ramdisk_addr} ${fdt_addr}; else bootm ${loadaddr} ${ramdisk_addr} ${fdt_addr}; fi; autodetectfdt=if test ${cpu} = 6SOLO || test ${cpu} = 6DL; then setenv fdt_prefix imx6dl; else setenv fdt_prefix imx6q; fi; if test ${board} = mx6-cubox-i; then setenv fdt_file ${fdt_prefix}-cubox-i.dtb; elif test ${board} = mx6-hummingboard; then setenv fdt_file ${fdt_prefix}- hummingboard.dtb; else setenv fdt_file ${fdt_prefix}-hummingboard2.dtb; fi; baudrate=115200 board=mx6-cubox-i boot_fdt=try boot_file=uImage boot_kernel=${boottype} ${kerneladdr} ${ramdiskaddr}:${rd_filesize} ${fdtaddr} boot_prefixes=/ /boot/ bootargs=console=ttymxc0,115200 root=/dev/nfs ip=dhcp nfsroot=:,v3,tcp bootcmd=for bootdev in ${bootdevs}; do for unit in ${units}; do setenv bootpart; for bootpart in ${bootparts}; do setenv fix_bootpart "setenv bootpart $bootpart"; run fix_bootpart; run setdev; run doit; done; done; done bootdelay=3 bootdevs=mmc bootenv=uEnv.txt bootfile=uImage bootit=setenv boot_file ${bootfile}; if test -n ${ramdisk_file}; then if run loadramdisk; then echo Loaded ${ramdisk_file}; setenv ramdisk_addr ${ramdisk_addr}:0x${filesize}; else setenv ramdisk_addr -; fi; else setenv ramdisk_addr -; fi; if test ${boot_file} = zImage; then if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if run loadfdt; then echo Loaded ${fdt_file}; else setenv fdt_addr; if test ${boot_fdt} = try; then echo WARN: Cannot load the DTB and boot file is type zImage;echo if you have not appended a dtb to the file it may;echo hang after displaying Starting kernel...;echo ;else echo WARN: Cannot load the DT; fi; fi; else setenv fdt_addr; fi; else setenv fdt_addr; fi; run autoboot; bootpart=0:1 bootparts=${unit}:1 bootscript=echo Running bootscript from mmc ...; source; boottype=net console=ttymxc0 cpu=6Q doit=run load_splashfile; if run load_kernel; then; run load_initrd; run loadfdt; run boot_kernel; fi ethact=FEC ethaddr=d0:63:b4:00:66:05 ethprime=FEC fdt_file=imx6q-cubox-i.dtb fdt_high=0xffffffff fdt_prefix=imx6q fdtaddr=0x14700100 fdtfile=call_autodetectfdt fdtfolder=dtb file_prefix=/boot/ filesize=2f03a85 fix_bootpart=setenv bootpart ${unit}:1 flavor=cuboxi get_cmd=dhcp importbootenv=echo Importing environment from mmc${mmcdev} ...; env import -t ${loadaddr} ${filesize}; initrd=boot/initrd.uboot initrd_high=0xffffffff ip_dyn=yes kernel=boot/linux.vmx kerneladdr=0x10800100 load_initrd=${fs}load ${bootdev} ${bootpart} ${ramdiskaddr} ${initrd}; setenv rd_filesize ${sizeprefix}${filesize} load_kernel=${fs}load ${bootdev} ${bootpart} ${kerneladdr} ${kernel} load_splashfile= loadaddr=0x10800000 loadbootenv=load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${file_prefix}${bootenv}; loadbootfile=load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${file_prefix}${bootfile}; loadbootscript=load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${file_prefix}${script}; loadfdt=${fs}load ${bootdev} ${bootpart} ${fdtaddr} ${fdtfolder}/${fdtfile} loadramdisk=if test ${boottype} = mmc; then load mmc ${mmcdev}:${mmcpart} ${ramdisk_addr} ${file_prefix}${ramdisk_file}; else ${get_cmd} ${ramdisk_addr} ${ramdisk_file}; fi; mmcargs=setenv bootargs quiet console=${console},${baudrate} root=${mmcroot}; mmcboot=echo Booting from mmc ...; run mmcargs; setenv boottype mmc; run bootit; mmcdev=0 mmcpart=1 mmcroot=/dev/mmcblk0p2 rootwait rw netargs=setenv bootargs console=${console},${baudrate} root=/dev/nfs ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp; netboot=echo Booting from net ...; run netargs; setenv boottype net; if test ${ip_dyn} = yes; then setenv get_cmd dhcp; else setenv get_cmd tftp; fi; if test ${bootfile} = auto; then setenv bootfile zImage; if ${get_cmd} ${bootfile}; then run bootit; else setenv bootfile uImage; fi; fi; ${get_cmd} ${bootfile}; run bootit; origbootfile=auto preboot=if hdmidet; then usb start; setenv stdin serial,usbkbd; setenv stdout serial,vga; setenv stderr serial,vga; else setenv stdin serial; setenv stdout serial; setenv stderr serial; fi; ramdisk=boot/initrd.uboot ramdisk_addr=- ramdisk_file=initrd ramdiskaddr=0x14800100 rd_filesize=0x2f03a85 script=boot.scr setdev=mmc dev ${unit} should_load_fdt=1 should_use_fdt=1 should_use_splashfile=0 sizeprefix=0x splashfile=opensuse.bmp splashpos=m,m stderr=serial stdin=serial stdout=serial target=firstboot units=0 update_sd_firmware=if test ${ip_dyn} = yes; then setenv get_cmd dhcp; else setenv get_cmd tftp; fi; if mmc dev ${mmcdev}; then if ${get_cmd} ${update_sd_firmware_filename}; then setexpr fw_sz ${filesize} / 0x200; setexpr fw_sz ${fw_sz} + 1; mmc write ${loadaddr} 0x2 ${fw_sz}; fi; fi; update_sd_firmware_filename=u-boot.imx Environment size: 4849/8188 bytes CuBox-i U-Boot > Comments how to solve this? Best, Tom [1] http://download.opensuse.org/repositories/devel:/ARM:/Factory:/Cont rib:/IMX6/images/openSUSE-Tumbleweed-ARM-JeOS-cuboxi.armv7l.raw.xz -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/1cd903ce739b05e07b73c4db146530d7.jpg?s=120&d=mm&r=g)
Hi Thomas, Am 18.10.2015 um 14:03 schrieb Thomas Bechtold:
I tried to use the Tumbleweed images from [1] but the image does not boot.
The error is not telling to me... I recently helped Doug install Tumbleweed on a Cubox-i, maybe he has some idea? Cheers, Andreas
Here's the output during boot:
U-Boot SPL 2013.10-rc4 (Oct 16 2015 - 05:16:01) Boot Device: SD1 spl: error reading image u-boot.img, err - -1 Load image from RAW...
U-Boot 2013.10-rc4 (Oct 16 2015 - 05:16:01)
CPU: Freescale i.MX6Q rev1.2 at 792 MHz Reset cause: POR Board: MX6-CuBox-i DRAM: 2 GiB MMC: FSL_SDHC: 0 *** Warning - bad CRC, using default environment
In: serial Out: serial Err: serial Net: FEC [PRIME] Hit any key to stop autoboot: 0 mmc0 is current device 2762 bytes read in 34 ms (79.1 KiB/s) Running bootscript from mmc ... ## Executing script at 10800000 mmc0 is current device 7163544 bytes read in 492 ms (13.9 MiB/s) 49298053 bytes read in 2897 ms (16.2 MiB/s) ** File not found dtb/call_autodetectfdt ** Kernel image @ 0x10800100 [ 0x000000 - 0x6d4e98 ] ## Loading init Ramdisk from Legacy Image at 14800100 ... Image Name: Initrd Image Type: ARM Linux RAMDisk Image (uncompressed) Data Size: 49297989 Bytes = 47 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ERROR: Did not find a cmdline Flattened Device Tree Could not find a valid device tree ** File not found /boot/boot.scr ** ** File not found /boot/uEnv.txt ** ** File not found /boot/zImage ** ** File not found /boot/uImage ** Booting from net ... FEC Waiting for PHY auto negotiation to complete......... TIMEOUT ! Could not initialize PHY FEC FEC Waiting for PHY auto negotiation to complete......... TIMEOUT ! Could not initialize PHY FEC FEC Waiting for PHY auto negotiation to complete......... TIMEOUT ! Could not initialize PHY FEC Booting uImage ## Booting kernel from Legacy Image at 10800000 ... Image Name: Boot-Script Image Type: ARM Linux Script (uncompressed) Data Size: 2698 Bytes = 2.6 KiB Load Address: 00000000 Entry Point: 00000000 Contents: Image 0: 2690 Bytes = 2.6 KiB Verifying Checksum ... Bad Data CRC ERROR: can't get kernel image! CuBox-i U-Boot >
Evironment is:
CuBox-i U-Boot > printenv autoboot=echo Booting ${boot_file}; if test ${boot_file} = zImage; then bootz ${loadaddr} ${ramdisk_addr} ${fdt_addr}; else bootm ${loadaddr} ${ramdisk_addr} ${fdt_addr}; fi; autodetectfdt=if test ${cpu} = 6SOLO || test ${cpu} = 6DL; then setenv fdt_prefix imx6dl; else setenv fdt_prefix imx6q; fi; if test ${board} = mx6-cubox-i; then setenv fdt_file ${fdt_prefix}-cubox-i.dtb; elif test ${board} = mx6-hummingboard; then setenv fdt_file ${fdt_prefix}- hummingboard.dtb; else setenv fdt_file ${fdt_prefix}-hummingboard2.dtb; fi; baudrate=115200 board=mx6-cubox-i boot_fdt=try boot_file=uImage boot_kernel=${boottype} ${kerneladdr} ${ramdiskaddr}:${rd_filesize} ${fdtaddr} boot_prefixes=/ /boot/ bootargs=console=ttymxc0,115200 root=/dev/nfs ip=dhcp nfsroot=:,v3,tcp bootcmd=for bootdev in ${bootdevs}; do for unit in ${units}; do setenv bootpart; for bootpart in ${bootparts}; do setenv fix_bootpart "setenv bootpart $bootpart"; run fix_bootpart; run setdev; run doit; done; done; done bootdelay=3 bootdevs=mmc bootenv=uEnv.txt bootfile=uImage bootit=setenv boot_file ${bootfile}; if test -n ${ramdisk_file}; then if run loadramdisk; then echo Loaded ${ramdisk_file}; setenv ramdisk_addr ${ramdisk_addr}:0x${filesize}; else setenv ramdisk_addr -; fi; else setenv ramdisk_addr -; fi; if test ${boot_file} = zImage; then if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if run loadfdt; then echo Loaded ${fdt_file}; else setenv fdt_addr; if test ${boot_fdt} = try; then echo WARN: Cannot load the DTB and boot file is type zImage;echo if you have not appended a dtb to the file it may;echo hang after displaying Starting kernel...;echo ;else echo WARN: Cannot load the DT; fi; fi; else setenv fdt_addr; fi; else setenv fdt_addr; fi; run autoboot; bootpart=0:1 bootparts=${unit}:1 bootscript=echo Running bootscript from mmc ...; source; boottype=net console=ttymxc0 cpu=6Q doit=run load_splashfile; if run load_kernel; then; run load_initrd; run loadfdt; run boot_kernel; fi ethact=FEC ethaddr=d0:63:b4:00:66:05 ethprime=FEC fdt_file=imx6q-cubox-i.dtb fdt_high=0xffffffff fdt_prefix=imx6q fdtaddr=0x14700100 fdtfile=call_autodetectfdt fdtfolder=dtb file_prefix=/boot/ filesize=2f03a85 fix_bootpart=setenv bootpart ${unit}:1 flavor=cuboxi get_cmd=dhcp importbootenv=echo Importing environment from mmc${mmcdev} ...; env import -t ${loadaddr} ${filesize}; initrd=boot/initrd.uboot initrd_high=0xffffffff ip_dyn=yes kernel=boot/linux.vmx kerneladdr=0x10800100 load_initrd=${fs}load ${bootdev} ${bootpart} ${ramdiskaddr} ${initrd}; setenv rd_filesize ${sizeprefix}${filesize} load_kernel=${fs}load ${bootdev} ${bootpart} ${kerneladdr} ${kernel} load_splashfile= loadaddr=0x10800000 loadbootenv=load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${file_prefix}${bootenv}; loadbootfile=load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${file_prefix}${bootfile}; loadbootscript=load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${file_prefix}${script}; loadfdt=${fs}load ${bootdev} ${bootpart} ${fdtaddr} ${fdtfolder}/${fdtfile} loadramdisk=if test ${boottype} = mmc; then load mmc ${mmcdev}:${mmcpart} ${ramdisk_addr} ${file_prefix}${ramdisk_file}; else ${get_cmd} ${ramdisk_addr} ${ramdisk_file}; fi; mmcargs=setenv bootargs quiet console=${console},${baudrate} root=${mmcroot}; mmcboot=echo Booting from mmc ...; run mmcargs; setenv boottype mmc; run bootit; mmcdev=0 mmcpart=1 mmcroot=/dev/mmcblk0p2 rootwait rw netargs=setenv bootargs console=${console},${baudrate} root=/dev/nfs ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp; netboot=echo Booting from net ...; run netargs; setenv boottype net; if test ${ip_dyn} = yes; then setenv get_cmd dhcp; else setenv get_cmd tftp; fi; if test ${bootfile} = auto; then setenv bootfile zImage; if ${get_cmd} ${bootfile}; then run bootit; else setenv bootfile uImage; fi; fi; ${get_cmd} ${bootfile}; run bootit; origbootfile=auto preboot=if hdmidet; then usb start; setenv stdin serial,usbkbd; setenv stdout serial,vga; setenv stderr serial,vga; else setenv stdin serial; setenv stdout serial; setenv stderr serial; fi; ramdisk=boot/initrd.uboot ramdisk_addr=- ramdisk_file=initrd ramdiskaddr=0x14800100 rd_filesize=0x2f03a85 script=boot.scr setdev=mmc dev ${unit} should_load_fdt=1 should_use_fdt=1 should_use_splashfile=0 sizeprefix=0x splashfile=opensuse.bmp splashpos=m,m stderr=serial stdin=serial stdout=serial target=firstboot units=0 update_sd_firmware=if test ${ip_dyn} = yes; then setenv get_cmd dhcp; else setenv get_cmd tftp; fi; if mmc dev ${mmcdev}; then if ${get_cmd} ${update_sd_firmware_filename}; then setexpr fw_sz ${filesize} / 0x200; setexpr fw_sz ${fw_sz} + 1; mmc write ${loadaddr} 0x2 ${fw_sz}; fi; fi; update_sd_firmware_filename=u-boot.imx
Environment size: 4849/8188 bytes CuBox-i U-Boot >
Comments how to solve this?
Best,
Tom
[1] http://download.opensuse.org/repositories/devel:/ARM:/Factory:/Cont rib:/IMX6/images/openSUSE-Tumbleweed-ARM-JeOS-cuboxi.armv7l.raw.xz
-- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton; HRB 21284 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/00e6f6b3030216f3331cf29abc322a4a.jpg?s=120&d=mm&r=g)
Le 18/10/2015 16:16, Andreas Färber a écrit :
Hi Thomas,
Am 18.10.2015 um 14:03 schrieb Thomas Bechtold:
I tried to use the Tumbleweed images from [1] but the image does not boot. The error is not telling to me... I recently helped Doug install Tumbleweed on a Cubox-i, maybe he has some idea?
The problem is that "autodetectfdt" command is not called so, fdtfile is not set correctly. But I do not know why since boot script seems ok. By the way, cuboxi is now supported in mainline u-boot and available in openSUSE. So we may switch to it? Note that mainline do not use 'autodetectfdt' but 'findfdt' instead. Guillaume
Cheers, Andreas
Here's the output during boot:
U-Boot SPL 2013.10-rc4 (Oct 16 2015 - 05:16:01) Boot Device: SD1 spl: error reading image u-boot.img, err - -1 Load image from RAW...
U-Boot 2013.10-rc4 (Oct 16 2015 - 05:16:01)
CPU: Freescale i.MX6Q rev1.2 at 792 MHz Reset cause: POR Board: MX6-CuBox-i DRAM: 2 GiB MMC: FSL_SDHC: 0 *** Warning - bad CRC, using default environment
In: serial Out: serial Err: serial Net: FEC [PRIME] Hit any key to stop autoboot: 0 mmc0 is current device 2762 bytes read in 34 ms (79.1 KiB/s) Running bootscript from mmc ... ## Executing script at 10800000 mmc0 is current device 7163544 bytes read in 492 ms (13.9 MiB/s) 49298053 bytes read in 2897 ms (16.2 MiB/s) ** File not found dtb/call_autodetectfdt ** Kernel image @ 0x10800100 [ 0x000000 - 0x6d4e98 ] ## Loading init Ramdisk from Legacy Image at 14800100 ... Image Name: Initrd Image Type: ARM Linux RAMDisk Image (uncompressed) Data Size: 49297989 Bytes = 47 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ERROR: Did not find a cmdline Flattened Device Tree Could not find a valid device tree ** File not found /boot/boot.scr ** ** File not found /boot/uEnv.txt ** ** File not found /boot/zImage ** ** File not found /boot/uImage ** Booting from net ... FEC Waiting for PHY auto negotiation to complete......... TIMEOUT ! Could not initialize PHY FEC FEC Waiting for PHY auto negotiation to complete......... TIMEOUT ! Could not initialize PHY FEC FEC Waiting for PHY auto negotiation to complete......... TIMEOUT ! Could not initialize PHY FEC Booting uImage ## Booting kernel from Legacy Image at 10800000 ... Image Name: Boot-Script Image Type: ARM Linux Script (uncompressed) Data Size: 2698 Bytes = 2.6 KiB Load Address: 00000000 Entry Point: 00000000 Contents: Image 0: 2690 Bytes = 2.6 KiB Verifying Checksum ... Bad Data CRC ERROR: can't get kernel image! CuBox-i U-Boot >
Evironment is:
CuBox-i U-Boot > printenv autoboot=echo Booting ${boot_file}; if test ${boot_file} = zImage; then bootz ${loadaddr} ${ramdisk_addr} ${fdt_addr}; else bootm ${loadaddr} ${ramdisk_addr} ${fdt_addr}; fi; autodetectfdt=if test ${cpu} = 6SOLO || test ${cpu} = 6DL; then setenv fdt_prefix imx6dl; else setenv fdt_prefix imx6q; fi; if test ${board} = mx6-cubox-i; then setenv fdt_file ${fdt_prefix}-cubox-i.dtb; elif test ${board} = mx6-hummingboard; then setenv fdt_file ${fdt_prefix}- hummingboard.dtb; else setenv fdt_file ${fdt_prefix}-hummingboard2.dtb; fi; baudrate=115200 board=mx6-cubox-i boot_fdt=try boot_file=uImage boot_kernel=${boottype} ${kerneladdr} ${ramdiskaddr}:${rd_filesize} ${fdtaddr} boot_prefixes=/ /boot/ bootargs=console=ttymxc0,115200 root=/dev/nfs ip=dhcp nfsroot=:,v3,tcp bootcmd=for bootdev in ${bootdevs}; do for unit in ${units}; do setenv bootpart; for bootpart in ${bootparts}; do setenv fix_bootpart "setenv bootpart $bootpart"; run fix_bootpart; run setdev; run doit; done; done; done bootdelay=3 bootdevs=mmc bootenv=uEnv.txt bootfile=uImage bootit=setenv boot_file ${bootfile}; if test -n ${ramdisk_file}; then if run loadramdisk; then echo Loaded ${ramdisk_file}; setenv ramdisk_addr ${ramdisk_addr}:0x${filesize}; else setenv ramdisk_addr -; fi; else setenv ramdisk_addr -; fi; if test ${boot_file} = zImage; then if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if run loadfdt; then echo Loaded ${fdt_file}; else setenv fdt_addr; if test ${boot_fdt} = try; then echo WARN: Cannot load the DTB and boot file is type zImage;echo if you have not appended a dtb to the file it may;echo hang after displaying Starting kernel...;echo ;else echo WARN: Cannot load the DT; fi; fi; else setenv fdt_addr; fi; else setenv fdt_addr; fi; run autoboot; bootpart=0:1 bootparts=${unit}:1 bootscript=echo Running bootscript from mmc ...; source; boottype=net console=ttymxc0 cpu=6Q doit=run load_splashfile; if run load_kernel; then; run load_initrd; run loadfdt; run boot_kernel; fi ethact=FEC ethaddr=d0:63:b4:00:66:05 ethprime=FEC fdt_file=imx6q-cubox-i.dtb fdt_high=0xffffffff fdt_prefix=imx6q fdtaddr=0x14700100 fdtfile=call_autodetectfdt fdtfolder=dtb file_prefix=/boot/ filesize=2f03a85 fix_bootpart=setenv bootpart ${unit}:1 flavor=cuboxi get_cmd=dhcp importbootenv=echo Importing environment from mmc${mmcdev} ...; env import -t ${loadaddr} ${filesize}; initrd=boot/initrd.uboot initrd_high=0xffffffff ip_dyn=yes kernel=boot/linux.vmx kerneladdr=0x10800100 load_initrd=${fs}load ${bootdev} ${bootpart} ${ramdiskaddr} ${initrd}; setenv rd_filesize ${sizeprefix}${filesize} load_kernel=${fs}load ${bootdev} ${bootpart} ${kerneladdr} ${kernel} load_splashfile= loadaddr=0x10800000 loadbootenv=load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${file_prefix}${bootenv}; loadbootfile=load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${file_prefix}${bootfile}; loadbootscript=load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${file_prefix}${script}; loadfdt=${fs}load ${bootdev} ${bootpart} ${fdtaddr} ${fdtfolder}/${fdtfile} loadramdisk=if test ${boottype} = mmc; then load mmc ${mmcdev}:${mmcpart} ${ramdisk_addr} ${file_prefix}${ramdisk_file}; else ${get_cmd} ${ramdisk_addr} ${ramdisk_file}; fi; mmcargs=setenv bootargs quiet console=${console},${baudrate} root=${mmcroot}; mmcboot=echo Booting from mmc ...; run mmcargs; setenv boottype mmc; run bootit; mmcdev=0 mmcpart=1 mmcroot=/dev/mmcblk0p2 rootwait rw netargs=setenv bootargs console=${console},${baudrate} root=/dev/nfs ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp; netboot=echo Booting from net ...; run netargs; setenv boottype net; if test ${ip_dyn} = yes; then setenv get_cmd dhcp; else setenv get_cmd tftp; fi; if test ${bootfile} = auto; then setenv bootfile zImage; if ${get_cmd} ${bootfile}; then run bootit; else setenv bootfile uImage; fi; fi; ${get_cmd} ${bootfile}; run bootit; origbootfile=auto preboot=if hdmidet; then usb start; setenv stdin serial,usbkbd; setenv stdout serial,vga; setenv stderr serial,vga; else setenv stdin serial; setenv stdout serial; setenv stderr serial; fi; ramdisk=boot/initrd.uboot ramdisk_addr=- ramdisk_file=initrd ramdiskaddr=0x14800100 rd_filesize=0x2f03a85 script=boot.scr setdev=mmc dev ${unit} should_load_fdt=1 should_use_fdt=1 should_use_splashfile=0 sizeprefix=0x splashfile=opensuse.bmp splashpos=m,m stderr=serial stdin=serial stdout=serial target=firstboot units=0 update_sd_firmware=if test ${ip_dyn} = yes; then setenv get_cmd dhcp; else setenv get_cmd tftp; fi; if mmc dev ${mmcdev}; then if ${get_cmd} ${update_sd_firmware_filename}; then setexpr fw_sz ${filesize} / 0x200; setexpr fw_sz ${fw_sz} + 1; mmc write ${loadaddr} 0x2 ${fw_sz}; fi; fi; update_sd_firmware_filename=u-boot.imx
Environment size: 4849/8188 bytes CuBox-i U-Boot >
Comments how to solve this?
Best,
Tom
[1] http://download.opensuse.org/repositories/devel:/ARM:/Factory:/Cont rib:/IMX6/images/openSUSE-Tumbleweed-ARM-JeOS-cuboxi.armv7l.raw.xz
-- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/1cd903ce739b05e07b73c4db146530d7.jpg?s=120&d=mm&r=g)
Am 20.10.2015 um 11:32 schrieb Guillaume GARDET:
By the way, cuboxi is now supported in mainline u-boot and available in openSUSE. So we may switch to it?
Sounds good. Does that mean we can build JeOS in openSUSE:Factory:ARM proper then or are there further dependencies? Regards, Andreas -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton; HRB 21284 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/7fe20edf0c60359ee9f18407be6aa9e3.jpg?s=120&d=mm&r=g)
Hi,
Sounds good. Does that mean we can build JeOS in openSUSE:Factory:ARM proper then or are there further dependencies?
it looks like there was a really old kernel in there. I removed it now and switched to the factory kernel. can anyone verify that it boots ? Thanks, Dirk -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/df4885692bbfc153cb18e6dc9df26326.jpg?s=120&d=mm&r=g)
On Tue, 2015-10-20 at 20:39 +0200, Dirk Müller wrote:
Hi,
Sounds good. Does that mean we can build JeOS in openSUSE:Factory:ARM proper then or are there further dependencies?
it looks like there was a really old kernel in there. I removed it now and switched to the factory kernel. can anyone verify that it boots ?
It boots. And network works. I haven't tested anything else yet. I used http://download.opensuse.org/ports/armv7hl/factory/images/openSUSE -Tumbleweed-ARM-JeOS-cuboxi.armv7l-Current.raw.xz The u-boot env vars must still be set manually. See https://build.opens use.org/request/show/344386 Thanks for the help everybody! Best, Tom -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/df4885692bbfc153cb18e6dc9df26326.jpg?s=120&d=mm&r=g)
On Tue, 2015-10-20 at 11:32 +0200, Guillaume GARDET wrote:
Le 18/10/2015 16:16, Andreas Färber a écrit :
Hi Thomas,
Am 18.10.2015 um 14:03 schrieb Thomas Bechtold:
I tried to use the Tumbleweed images from [1] but the image does not boot. The error is not telling to me... I recently helped Doug install Tumbleweed on a Cubox-i, maybe he has some idea?
The problem is that "autodetectfdt" command is not called so, fdtfile is not set correctly. But I do not know why since boot script seems ok.
By the way, cuboxi is now supported in mainline u-boot and available in openSUSE. So we may switch to it? Note that mainline do not use 'autodetectfdt' but 'findfdt' instead.
I already tried the u-boot version from openSUSE:Factory and it seems to work for me. There are a couple of things to fix in Images.kiwi.in and uboot-image-cuboxi-install . I'll prepare a SR for that when branching in OBS works again. But I'm still not able to get the correct env vars to boot. Best, Tom -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/df4885692bbfc153cb18e6dc9df26326.jpg?s=120&d=mm&r=g)
On Tue, 2015-10-20 at 11:32 +0200, Guillaume GARDET wrote:
Le 18/10/2015 16:16, Andreas Färber a écrit :
Hi Thomas,
Am 18.10.2015 um 14:03 schrieb Thomas Bechtold:
I tried to use the Tumbleweed images from [1] but the image does not boot. The error is not telling to me... I recently helped Doug install Tumbleweed on a Cubox-i, maybe he has some idea?
The problem is that "autodetectfdt" command is not called so, fdtfile is not set correctly. But I do not know why since boot script seems ok.
By the way, cuboxi is now supported in mainline u-boot and available in openSUSE. So we may switch to it? Note that mainline do not use 'autodetectfdt' but 'findfdt' instead.
I already tried the u-boot version from openSUSE:Factory and it seems to work for me. There are a couple of things to fix in Images.kiwi.in and uboot-image-cuboxi-install . I'll prepare a SR for that when branching in OBS works again. But I'm still not able to get the correct env vars to boot. Best, Tom -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
participants (4)
-
Andreas Färber
-
Dirk Müller
-
Guillaume GARDET
-
Thomas Bechtold