Just FYI
Version 2019-07 of U-boot is broken. Makes a board reset on initializing watchdog. 2019-04 works. Probable caused by generic watchdog-reset implementation
it seems this is because CONFIG_WATCHDOG is enabled
WDT: Started with servicing (60s timeout)
after that the reset happens. if i deactivate CONFIG_WATCHDOG i see this and no board-reset occours:
WDT: Started without servicing (60s timeout)
it seems that problem is here:
and get_timer seems to hang on dm_timer_init
somewhere here is the hang:
if (ofnode_valid(node) &&
uclass_get_device_by_ofnode(UCLASS_TIMER, node, &dev)) {
with the help of @ray we got sata working in uboot here
but we need some tuning before we can get it upstream (hifsys is currently initialized in ethsys where it is imho wrong placed)
@Ryder.Lee@weijiegao can you help here? where is the correct entry-point to initialize the hifsys? afaik there should be a new file using compatible “mediatek,mt2701-hifsys” to probe it and then initialize it independent from ethsys (= moving this code)…
Right,this change is from ray…he uses ethsys to initialize hifsys for pcie which is imho not the best way…but how to probe hifsys without ethsys-trigger (have it separated in my sata2-branch but probe is not called)?
Without this code pcie/ahci does not work
Is there any documentation about hifsys and the values used here?
Sorry @frank-w, but it a bit silly
U-Boot may use FDT, may not. But it must supply full working board FDT to system.
Just like PC BIOS supply ACPI info to OS.
So better to include latest full DTS and make U-Boot to work with it.
imho we should only touch nodes needed to get pcie working and not convert all existing nodes to 64
do you need 64bit-nodes for EFI?
i don’t know how your EFI/Freebsd is working…but for linux there will passed the dts from linux-kernel (built-in or separately) to the system…so for this we don’t need the complete dts in uboot
All development kernels are private ones. Once things are sorted out, when things works, they can become a part of the GENERIC Linux kernel. Not before.
will this be ok (patches 2-5)? i have “owned” the dts-patch as i did the 32bit-translation, in the others you are the author and i added subject-tagging and our signed-off & my tested
if you ack, i do the checkpatch and send it out if no problems found