0
martinayotte

Trial to merge UBoot for RK3399 and Rockchip64

Recommended Posts

I've struggled the whole day on that task using v2019.01 ...

It is even worst than my struggling back in early December, even using Method #2 give me headache with Pinctrl not initialize and boot device been garbage :



channel 0 training pass!
channel 1 training pass!
change freq to 800MHz 1,0
ch 0 ddrconfig = 0x101, ddrsize = 0x20
ch 1 ddrconfig = 0x101, ddrsize = 0x20
pmugrf_os_reg[2] = 0x3281F281, stride = 0x9
OUT
U-Boot SPL board init
Pinctrl init failed: -19
Trying to boot from m�iYk~Ⱥ�C��+J)H�^J!������wZ��q�+����q����!


 

Share this post


Link to post
Share on other sites
7 hours ago, TonyMac32 said:

wow.  I guess I'll give it a shot too?  Could be a device tree problem?

You can definitively ...

DT problem ? I doubt since I'm using the same we have for ayufan-v2017.09 builds.

Share this post


Link to post
Share on other sites

Here is a summary of my today's struggling ...

 

Looking at v2019.01 defconfig, it seems that it was always defaulting to evb_rk3399 board.

So, I've decided to add patch to create board/rockchip/rockpro64_rk3399/ based from ayufan's branch, along with defconfig tweaks. This brings me this first results: no more Pinctrl init error, but No Serial found ! Grrrr ! :angry:

MR24=0x8
MR25=0x0
channel 0 training pass!
channel 1 training pass!
change freq to 800MHz 1,0
ch 0 ddrconfig = 0x101, ddrsize = 0x20
ch 1 ddrconfig = 0x101, ddrsize = 0x20
pmugrf_os_reg[2] = 0x3281F281, stride = 0x9
OUT
U-Boot SPL board init
No serial driver found
resetting ...
### ERROR ### Please RESET the board ###

How Serial can't be found if debug is already outputted to serial  ?  Stupid U-Boot, I hate you !!! :angry:

I've found that CONFIG_REQUIRE_SERIAL_CONSOLE=n can skip this error, but I've only come up to that state :

MR24=0x8
MR25=0x0
channel 0 training pass!
channel 1 training pass!
change freq to 800MHz 1,0
ch 0 ddrconfig = 0x101, ddrsize = 0x20
ch 1 ddrconfig = 0x101, ddrsize = 0x20
pmugrf_os_reg[2] = 0x3281F281, stride = 0x9
OUT
U-Boot SPL board init
U-Boot SPL board init

Stupid U-Boot, I hate you !!! :angry:

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
0