vuhungkt18
(Nguyen Vu Hung)
December 21, 2019, 1:33pm
21
Hello Frank-w,
Currently I can not boot u-boot from SD. it have the same problem. But I can boot u-boot completely from eMMC after following your instruction
My preloader for SD: preloader_iotg7623Np1_sd_1333M.bin
and my preloader for emmc is BPI-R2-EMMC-boot0-DDR1600-20190722-0k.img.gz
U-boot version: https://github.com/frank-w/u-boot.git
Can you suggest to me some step to fix this issue ?
Thank so much
frank-w
(Frank W.)
December 21, 2019, 1:54pm
22
which issue do you have?? SD or eMMC? my repo contains multiple uboot-versions…whch one do you use?
vuhungkt18
(Nguyen Vu Hung)
December 21, 2019, 4:23pm
23
Currently I can not boot u-boot from SD but can boot u-boot from eMMC
my u-boot that i use: 2019-07-bpi-r2
frank-w
(Frank W.)
December 21, 2019, 4:24pm
24
1 Like
vuhungkt18
(Nguyen Vu Hung)
December 21, 2019, 4:29pm
25
OK I will try again
thank you so much.
And I have also 1 question about use 4G module at link
[31383737168841878]
1.Firstly, use R2 connects LTE module by USB or 14pin Headers. then execute command "lsusb" to have a look if R2 have drove the module. The red box is the id of 4G module.
[image]
After seeing this, execute command "ls /dev/ttyUSB*" to make sure the 4G module have been recognised as USB devs.
[image]
2. Execute the "./ppp1.sh &"
[image]
then execute command “ifconfig -a”,you will see ppp0
[image]
3. Execute command ”wget -O speedtest-cli https://raw.githubusercontent…
Do you have file “ppp1.sh” ? Can you send to me ?
Because I can not download “ppp1.sh” from Viet Nam
Thanks
frank-w
(Frank W.)
December 21, 2019, 4:30pm
26
unrelated to this topic and no, i don’t have it…i also don’t have such module
1 Like
vuhungkt18
(Nguyen Vu Hung)
December 21, 2019, 4:31pm
27
OK. Thank you so much
I will flash preloader again
vuhungkt18
(Nguyen Vu Hung)
December 21, 2019, 4:35pm
28
And do you have source code of preloader ? Can you share me ?
Thanks
frank-w
(Frank W.)
December 21, 2019, 4:45pm
29
preloader is closed source, for the memory-expansion (to load bigger uboot) and the emmc-flag we needed vendor-support
1 Like
vuhungkt18
(Nguyen Vu Hung)
December 21, 2019, 4:49pm
30
I got it. thank you so much
Hai frank… can you guide me how to write to sd card or emmc…
I use armbian and stuck on <0x81e00004>=0xe59ff014
frank-w
(Frank W.)
February 6, 2020, 4:04pm
32
These preloaders are written like others…except armbian does anything different…
Just backup your sd (part you overwrite) and flash new one
Sd:
sudo dd if=BPI-R2-preloader-DDR1600-20190722-2k.img of=${dev} bs=1k seek=2
Emmc:
sudo dd if=BPI-R2-EMMC-boot0-DDR1600-20190722-0k.img of=/dev/mmcblk1boot0
Afair emmc also needs sd-preloader on userpartition
sudo dd if=BPI-R2-preloader-DDR1600-20190722-2k.img of=/dev/mmcblk1 bs=1k seek=2
1 Like