Welcome! Log In Create A New Profile

Advanced

BREED bootloader - Anyone here familiar with it?

Posted by Jake 
BREED bootloader - Anyone here familiar with it?
January 28, 2021 09:18PM
Re: BREED bootloader - Anyone here familiar with it?
January 29, 2021 12:34AM
This is a proprietary boot loader without published source code. See the Copyright notice on the OpenWrt page you linked above.
Re: BREED bootloader - Anyone here familiar with it?
January 29, 2021 05:02PM
Thanks for the reply. I should pay more attention. I'm used to seeing a copyright holder with GPL code too. The release license following it is the part I like. Listing the username of an email address as a copyright holder seems suspicious to me. Like, who's going to defend the copyright, the email service provider, whomever has the rights to the Pascal trademark, someone showing up in court with the pseudonym Mr. Hack Pascal? (Please let it be the latter :)

The openwrt "manual" link looks like a terrible Chinese to English translation. I've also seen a few search results referencing breed in Chinese and some device logs with chinese comments embedded. I was wondering if the source is available on the other side of the great firewall, or maybe someone has a reverse engineering blog post somewhere.
-Jake
Re: BREED bootloader - Anyone here familiar with it?
January 31, 2021 05:02PM
Re: BREED bootloader - Anyone here familiar with it?
February 02, 2021 04:20AM
Maybe I'm wrong, but that bootloader could be a fork of the work of pepe2k:
http://projects.dymacz.pl/?dir=u-boot_mod
https://github.com/pepe2k/u-boot_mod

AFAIR pepe2k wrote some time ago, that pascal used his code,
modified it,closed it's source and published.
Tried to find that post but I'm not sure if it was published here:
https://eko.one.pl/forum (in polish)
or somewhere else..
Gimbus109
Re: BREED bootloader - Anyone here familiar with it?
February 02, 2021 06:27PM
Thanks for the info Gimbus.

According to the Dev/owner of pcWRT, the BREED bootloader originated on the Chinese forum www.right.com.cn.


However, today (Feb 2, 2021), on the github account "hackpascal," with the associated name Weijie Gao, this was part of a file header:


Quote

From b7c230c5ab9009d6d9612294dbb1084f2070610b Mon Sep 17 00:00:00 2001
From: Weijie Gao <weijie.gao@mediatek.com>
Date: Tue, 2 Feb 2021 10:51:25 +0800
Subject: armv8: do not read ESR_EL3 in AArch32 state

Link:
https://github.com/mtk-openwrt/openocd-scripts/blob/main/patch/0001-armv8-do-not-read-ESR_EL3-in-AArch32-state.patch

In every other reference I've seen on that github account a gmail account was used. So it would seem the source of BREED is actually Mediatek. IMO this raises the question, what is this bootloader really capable of doing, and why haven't they open sourced it despite posting the source for the first 2 of 3 stages?
-Jake
Re: BREED bootloader - Anyone here familiar with it?
February 03, 2021 08:36AM
Found the original post:
https://forum.archive.openwrt.org/viewtopic.php?id=55180
post #9

It's about bootloader for NEXX wt3020 (mediatek mt7620n) device.

- Gimbus109
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: