Jump to content

Recommended Posts

Posted

Dear all,

 

thanks for the work of you, to provide us with the Armbian Images for our arm-based boards.

 

BUt i've a small issue, starting the last Image for Odroid XU4. If I write the Image to a SD-Card and start the XU4, all Things run well. When I write the Image to my eMMC-Card (original Hardkernel, 64GB), the XU4 doesn't start.

 

Normally, it's not such a big Problem, but there is a massive speedup, using eMMC with XU4.

 

How can I get Armbian startet, installed on an eMMC?

 

Many thanks for your Support,

 

Burkhard

Posted

Can you perhaps provide serial console boot log? Unfortunately I don't have any eMMC for XU4 around.

 

Are you trying to boot mainline kernel 4.x ?

Posted

Hi,

 

I've tried Legacy 3.10.104 (Debian Jessie & Ubuntu)  and also mainline 4.9.7 Ubuntu). 

Tried to start with connected HDMI-Monitor and mouse/keyboard. Not via SSH or something else. If I put the eMMC in, the screen doesn't show anything. Nothing happens with the XU4.

With SD-card, anything runs well.

 

Older Images are running from eMMC without any problems.

Posted

As far as I know on XU4 eMMC u-boot is stored in the boot partition and default environment requires FAT partition to boot from. So it needs to be handled by nand-sata-install: other update u-boot in the hidden boot partition or use FAT boot partition when installing on eMMC.

Posted

HI,

 

thanks for that Info. I'm wondering, because Jessie-Image: Armbian_5.14_Odroidxu4_Debian_jessie_3.10.102 is running perfectly on my eMMC, without any modifications. The problems are completely new since Version: Armbian_5.25_Odroidxu4_Debian_jessie_default_3.10.104.

 

What are the differences between these two versions?

Posted

Hi,

 

okay, so far, it's clear. But am I wrong: If I write the Armbian Image to an eMMC, there I found a FAT boot-partition. If that cannot run on XU4 with eMMC, how to install the nand-sata-install?

 

I looked at the Github from Igor Pecnovik for the nand-sata-install.sh. But at the moment, this is a closed book to me.  :wacko:

 

I've forgott to say, I'm really a newbie on working with Linux and Odroids  :(. What I want, a running Armbian with installed OMV 3.0.xx. BEfore, I used a RasPi 3, but I want to have the extras of USB3 and GB-Lan. For That reason, at the moment, there is only an Odroid XU4.

Posted

nand-sata-install script is present on the system. Just open a terminal and type. You have to boot from SD card and have eMMC present. Unfortunately this scenario is untested by me so I don't know it it 100% works. It should.

Posted
  On 2/4/2017 at 4:36 PM, Burkhard Kneiseler said:

okay, so far, it's clear. But am I wrong: If I write the Armbian Image to an eMMC, there I found a FAT boot-partition. If that cannot run on XU4 with eMMC, how to install the nand-sata-install?

I don't have this board, but judging by the Hardkernel Wiki Odroid with eMMC can still boot from SD and boot priority should be selectable with a special switch. So the idea is - boot from SD and use nand-sata-install to write the system to the eMMC. Unfortunately this double partition scenario is not currently implemented (other Odroid board like C0, C1, C2 don't need this) so currently your easy options are running the system from SD or using nand-sata-install to start from SD but have the system on the eMMC. Or just use an older release.

Posted

I guess this is the reason why my XU4 stopped working suddenly (using legacy kernel). Have been running it for long time with no problems, but after updating the kernel yesterday my XU4 server does not boot anymore. Also using original 64GB eMMC from Hardkernel.

 

Board lights up the red led and fan starts spinning, but the display port does not give any output (HDMI).

Posted
  On 2/4/2017 at 10:36 PM, Zaiban said:

I guess this is the reason why my XU4 stopped working suddenly (using legacy kernel). Have been running it for long time with no problems, but after updating the kernel yesterday my XU4 server does not boot anymore. Also using original 64GB eMMC from Hardkernel.

 

Board lights up the red led and fan starts spinning, but the display port does not give any output (HDMI).

I guess you also doesn't have serial console? We would really like to fix this, instead going back to older schema.

Posted
  On 2/4/2017 at 10:36 PM, Zaiban said:

I guess this is the reason why my XU4 stopped working suddenly (using legacy kernel). Have been running it for long time with no problems, but after updating the kernel yesterday my XU4 server does not boot anymore. Also using original 64GB eMMC from Hardkernel.

Those changes should not affect upgrades on existing images anyway.

Posted

I confirm, there is a big issue with this update. I restarted my Odroid XU4 yesterday because it was asked to do so after logging on SSH. It isn't working anymore (no blinking blue led anymore).

I formatted everything on the eMMC card and installed the new ISO, but it doesn't boot.

Can you resolve this issue quickly because it is not very serious...

Posted
  Quote

Can you resolve this issue quickly because it is not very serious...

 

We can't start to resolve this:

 

- without any logs

or

- without possibility to reproduce and catch logs. I don't have eMMC card for XU4

Posted

Hi there.

Now I have this issue too. Today I had upgraded my system on XU4 from 5.22 to 5.25 and it stopped working.

 

 

  On 2/5/2017 at 4:18 PM, Igor said:

We can't start to resolve this:
 

- without any logs

or

- without possibility to reproduce and catch logs. I don't have eMMC card for XU4

 

 

I have usb-uart and  i can catch logs for you. Any help wanted!

Posted


 

U-Boot 2012.07-00008-ge2d58a1-dirty (Aug 08 2014 - 20:57:19) for Exynos5422

 

CPU: Exynos5422 Rev0.1 [Samsung SOC on SMP Platform Base on ARM CortexA7]

APLL = 800MHz, KPLL = 800MHz

MPLL = 532MHz, BPLL = 825MHz

 

Board: XYREF5422

DRAM: 2 GiB

WARNING: Caches not enabled

 

TrustZone Enabled BSP

BL1 version: ÿ/áâ

VDD_KFC: 0x44

LDO19: 0xf2

 

Checking Boot Mode ... EMMC

MMC: S5P_MSHC0: 0, S5P_MSHC2: 1

MMC Device 0: 14.7 GiB

MMC Device 1: there are pending interrupts 0x00000001

14.8 GiB

MMC Device 2: MMC Device 2 not found

*** Warning - bad CRC, using default environment

 

In: serial

Out: serial

Err: serial

Net: No ethernet found.

Press 'Enter' or 'Space' to stop autoboot: 1 0

reading boot.ini

 

8528 bytes read

Loading boot.ini from FAT

Find boot.ini file from FAT/Ext4 Area!!

boot.ini command = setenv initrd_high "0xffffffff"

boot.ini command = setenv fdt_high "0xffffffff"

boot.ini command = setenv macaddr "00:1e:06:61:7a:55

boot.ini command = setenv bootrootfs "console=tty1 loglevel=1 root=/dev/mmcblk0p2 rootwait ro fsck.repair=yes"

boot.ini command = setenv bootcmd "fatload mmc 0:1 0x40008000 zImage; fatload mmc 0:1 0x44000000 dtb/exynos5422-odroidxu3.dtb; bootz 0x40008000 0x44000000"

boot.ini command = setenv vout "hdmi"

boot.ini command = setenv governor "performance"

boot.ini command = setenv HPD "true"

boot.ini command = setenv hdmi_tx_amp_lvl "31"

boot.ini command = setenv hdmi_tx_lvl_ch0 "3"

boot.ini command = setenv hdmi_tx_lvl_ch1 "3"

boot.ini command = setenv hdmi_tx_lvl_ch2 "3"

boot.ini command = setenv hdmi_tx_emp_lvl "6"

boot.ini command = setenv hdmi_clk_amp_lvl "31"

boot.ini command = setenv hdmi_tx_res "0"

boot.ini command = setenv hdmi_phy_control "hdmi_tx_amp_lvl=${hdmi_tx_amp_lvl} hdmi_tx_lvl_ch0=${hdmi_tx_lvl_ch0} hdmi_tx_lvl_ch1=${hdmi_tx_lvl_ch1} hdmi_tx_lvl_ch2=${hdmi_tx_lvl_ch2} hdmi_tx_emp_lvl=${hdmi_tx_emp_lvl} hdmi_clk_amp_lvl=${hdmi_clk_amp_lvl} hdmi_tx_res=${hdmi_tx_res} HPD=${HPD} vout=${vout}"

boot.ini command = setenv bootargs "${bootrootfs} ${videoconfig} smsc95xx.macaddr=${macaddr} governor=${governor} ${hdmi_phy_control}"

boot.ini command = boot

reading zImage

 

3392720 bytes read

reading dtb/exynos5422-odroidxu3.dtb

 

52006 bytes read

 

Starting kernel ...

 

Posted

Hi New here . 

 

I tried doing the nand-sata-install from the SD card to the emmc and can confirm that it is currently not working.No console cable to post my startup sorry.

Posted

@Nerten

 

This does not look to be Armbian boot, at least no recent.

 

This is how it looks like on SD card:

 

 

  Reveal hidden contents

 

 

I need bootlog from any of those images:

 

https://www.armbian.com/odroid-xu4

 

written on eMMC. Well, in worse case I'll need to get eMMC and see what's going on :(

Posted
  On 2/6/2017 at 3:45 PM, Igor said:

 

@Nerten

 

This does not look to be Armbian boot, at least no recent.

 

It's Armbian, had installed 5.14, upgraded to 5.17 -> 5.20 -> 5.22 -> 5.25.

Posted
  Quote

It's Armbian, had installed 5.14, upgraded to 5.17 -> 5.20 -> 5.22 -> 5.25.

 

Well, its nice to hear that it survive this much upgrade :) ... but we have a problem with recent build :( which is single EXT4 partition and we changed boot scripts, boot loader received one patch ... 

Posted
  On 2/6/2017 at 3:57 PM, Igor said:

Well, its nice to hear that it survive this much upgrade :) ... but we have a problem with recent build :( which is single EXT4 partition and we changed boot scripts, boot loader received one patch ... 

Boot scripts are not upgraded, so older images should not be affected.

 

  On 2/5/2017 at 9:27 PM, Nerten said:
boot.ini command = setenv bootrootfs "console=tty1 loglevel=1 root=/dev/mmcblk0p2 rootwait ro fsck.repair=yes"

I wonder if eMMC is not visible as /dev/mmcblk0 in some cases. Changing console output to serial also may help.

Posted
  On 2/6/2017 at 4:22 PM, zador.blood.stained said:

Changing console output to serial also may help.

What i must do to do this? 

 

 

Posted

Here is log from fresh-installed to emmc Armbian 5.25:

 

  Reveal hidden contents

 

Posted
  On 2/6/2017 at 7:02 PM, Igor said:

You burn SD card and install to eMMC?

I have eMMC 16gb with micro-sd adapter and microsd-usb card reader.

Posted

Here is log for Armbian 5.25 with mainline kernel 4.9.7:

 

  Reveal hidden contents

 

Posted
U-Boot 2012.07-00008-ge2d58a1-dirty (Aug 08 2014 - 20:57:19) for Exynos5422

If you wrote our image to eMMC (via SD card adapter), how is possible that you got this u-boot?

 

Our u-boot has such prompt:

U-Boot 2012.07 (Feb 06 2017 - 16:16:49) for Exynos5422

I will also get eMMC, but it will take some time ...

Posted
  On 2/7/2017 at 7:30 PM, Igor said:

 

If you wrote our image to eMMC (via SD card adapter), how is possible that you got this u-boot?

 

 

I don't know, maybe it because i burn this image through Etcher instead of dd?

Posted
  On 2/7/2017 at 7:30 PM, Igor said:
U-Boot 2012.07-00008-ge2d58a1-dirty (Aug 08 2014 - 20:57:19) for Exynos5422

If you wrote our image to eMMC (via SD card adapter), how is possible that you got this u-boot?

 

Our u-boot has such prompt:

U-Boot 2012.07 (Feb 06 2017 - 16:16:49) for Exynos5422

I will also get eMMC, but it will take some time ...

 

As I said previously - on eMMC u-boot is stored in the hidden boot partition, it comes flashed on the eMMC by default and can be updated only with a special software or from system running on the board.

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines