Hi,
I have tried it, no success
>>U-Boot SPL 2016.11-rc3-1-g9fa5bf3-dirty (Nov 05 2016 - 16:18:14)
>>DRAM: 1024 MiB
>>CPU: 91200Hz, AXI/AHB/APB: 3/2/2
>>Trying to boot from MMC1
>>mmc_load_image_raw_sector: mmc block read error
>>SPL: failed to boot from all boot devices
>>### ERROR ###
I have found problem place, this patch with hotfix allows to boot Allwinner A20
from eMMC.
Dont know how to full fix it.
commit 9fa5bf30e95ead17eb0c50375b305fb8615427a9
Author: root
Date: Sat Nov 5 04:41:30 2016 +0600
allow to boot A20 from eMMC, fix
diff --git
Replace emmc to sd card, on sdc2 lines. Remove sd on sdc0, works like a charm,
but with emmc not success
>>U-Boot SPL 2016.11-rc1-g4dc34be (Nov 04 2016 - 03:06:54)
>>DRAM: 1024 MiB
>>CPU: 91200Hz, AXI/AHB/APB: 3/2/2
>>Trying to boot from MMC2
>>U-Boot 2016.11-rc1-g4dc34be (Nov 04 2016
To exclude board factor, i get another board, Cubieboard2, desolder nand chip
and put emmc on sdc2 lines.
Boot kernel from sd on sdc0 lines, kernel init emmc well, in 4 bit mode
So, some trouble in u-boot is exist, PLEASE HELP!
U-Boot SPL 2016.11-rc1-g4dc34be
My board - A20:
U-Boot with my
emmc partitions
> 3 нояб. 2016 г., в 16:10, Alexandr Bochkarev <aneox.in...@gmail.com>
> написал(а):
>
>
> Some summary
>
> Marsboard by default has nand flash chip on sdc2 lines, but under nand chip,
> there is emmc bga pads also.
> So i have
Some summary
Marsboard by default has nand flash chip on sdc2 lines, but under nand chip,
there is emmc bga pads also.
So i have desoldered nand, and put emmc chip on it. Maybe there is no required
pull ups on data lines to work on 4-bit widh,
and when i boot kernel from sdc0 sd card, kernel
So, this debug output.
U-Boot SPL 2016.11-rc1-g4dc34be-dirty (Oct 13 2016 - 14:04:10)
DRAM: 1024 MiB
CPU: 91200Hz, AXI/AHB/APB: 3/2/2
Trying to boot from MMC2
init mmc 0 resource
init mmc 0 clock and io
mmc 0 set mod-clk req 2400 parent 2400 n 1 m 1 rate 2400
init mmc 2 resource
I decided to check how linux kernel init emmc on marsboard, which i boot from
SD card
And i found, that it inited only in 1-bit mode, is it normal? it works, i can
edit files on it
linux set
eMMC(sdc2) to mmc0
SD(sdc0) to mmc1
# cat /sys/kernel/debug/mmc0/ioseMMC
clock: 5200
>
> define debug() in your mmc driver..or enable CONFIG_DEBUG..then you can see
> all debug message.
>
When i define CONFIG_DEGUB, u-boot binary size is to large for a20 sram
I have tried to disable unused features in config, but its not enough
>
> If you're setting MMC_MODE_8BIT..try to
Now i boot marsboard from sd card with new config
=> mmc list
SUNXI SD/MMC: 0 (SD)
SUNXI SD/MMC: 1
=> mmc info
Device: SUNXI SD/MMC
Manufacturer ID: 2
OEM: 544d
Name: SA04G
Tran Speed: 5000
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 3.6 GiB
Bus Width: 4-bit
Erase Group
all boot devices
### ERROR ### Please RESET the board ###
> 12 окт. 2016 г., в 18:42, Alexandr Bochkarev <aneox.in...@gmail.com>
> написал(а):
>
>
>> I understood more clearly...Your target for using is sdc0(eMMC), right?
> Yes
>
> Now i have checked det pin o
> I understood more clearly...Your target for using is sdc0(eMMC), right?
Yes
Now i have checked det pin on my board. I use standart
A20-OLinuXino-Lime_defconfig with my board.
So PH1 is pull-fown. No changes if just remove det pin
U-Boot SPL 2016.11-rc1-g4dc34be-dirty (Oct 12 2016 - 18:12:37)
gt;
> On 10/12/2016 08:25 PM, Alexandr Bochkarev wrote:
>>> This log means that there is no card on slot..
>> But then i tried my board with mainline u-boot, emmc was on sdc0 lines.
>>
>> Now i tried, boot marsboard from sd, hit button to stop kernel loading.
>&g
"; then
root="/dev/mmcblk0p1 rootwait"; else root="/dev/mmcblk0p2 rootwait"; fi; fi;
setenv bootargs console=${console} root=${root} loglevel=${loglevel}
${panicarg} ${extraargs}
stderr=serial
stdin=serial
stdout=serial
> 12 окт. 2016 г., в 17:09, Jaehoon Chung <jh8
/2/2
Card did not respond to voltage select!
spl: mmc init failed: err - -17
### ERROR ### Please RESET the board ###
So, the problem with eMMC KLM4G1FE3B-B001 is exists(
Maybe you know some cheap emmc, which is 100% works with mainline u-boot?
> 7 окт. 2016 г., в 14:44, Alexandr Bochkarev &l
Hi!
Very appreciate your help! Hope we will fix it, because my board will be
garbage without emmc (
So, my steps:
git clone git://git.denx.de/u-boot.git --depth 1; cd u-boot;
make CROSS_COMPILE=arm-linux-gnueabihf- A20-OLinuXino-Lime_defconfig
make CROSS_COMPILE=arm-linux-gnueabihf-
Also turn
Already tried. The same output:
> mmc_load_image_raw_sector: mmc block read error
> SPL: failed to boot from all boot devices
> ### ERROR ### Please RESET the board ###
> 2 окт. 2016 г., в 19:38, Jagan Teki <jagannadh.t...@gmail.com> написал(а):
>
> On Sun, Oct 2, 2
Hi!
I am trying to boot my A20 board from eMMC KLM4G1FE3B-B001, but has no success.
Commenting mmc_change_freq has no effect.
U-Boot 2016.03 just says Could not determine boot source
I have found, that it stucks in sunxi_mmc_has_egon_boot_signature.
int
18 matches
Mail list logo