From nobody Fri Aug 19 00:56:26 2022 X-Original-To: freebsd-mips@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4M83H93jscz4YsYZ for ; Fri, 19 Aug 2022 00:56:37 +0000 (UTC) (envelope-from archimedes.gaviola@gmail.com) Received: from mail-yw1-x1134.google.com (mail-yw1-x1134.google.com [IPv6:2607:f8b0:4864:20::1134]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4M83H86WVvz4791 for ; Fri, 19 Aug 2022 00:56:36 +0000 (UTC) (envelope-from archimedes.gaviola@gmail.com) Received: by mail-yw1-x1134.google.com with SMTP id 00721157ae682-32a09b909f6so86065647b3.0 for ; Thu, 18 Aug 2022 17:56:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=XB4vi0VT7NW70bv51MjVOePyDz1/sReStsgKShD1lNk=; b=BavnWcXOL+CPVCWb6rE5iNc5nvxLQbAhaafgxTEXK1n/930juy6fv5GxHX35ZdGDLa pk+l+hhJdVP2jhvqbWQQShunGVKEowBdiZslFaiMg0mylAKIwPXU4YaeJjFB5svj/0Ox IdmdYF6NBYE7asP79LYubW8Ed4v2xnBeT56TVsi/IQxOCE88hB10nLPtoSFe/mj1+NvM Mg1K6Lrhx+bSo/4TRIGoWkQFCMvmcYVTeE032558DTAJ1lJduKXxORkcWxZ7FMh4RVeZ TkCWexgT5Zi+z7uIyQwVNVruRUBcAPNh8oshLIST+khKdqL7+BpmBvrLNepNtaZrcfIX wTTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=XB4vi0VT7NW70bv51MjVOePyDz1/sReStsgKShD1lNk=; b=eiZDXpUryR7+oXKtWAj2dcLjY1rrKOc1u9Qz/yRFaDI8aIhocTsciPTq4A+E8Av0af adD2v50LxleX2AYrf0PGYaQj2/8sHkIJQWHP9WpPb3J1HO0RPrThno6g+hikXMfostg+ 7j9Z9vHZ6VTgJgVCzcnEKKGpStHGDeAlq/is8EAEfoYNfWlJl9GnOnCVqxuzL8suAYPH P/JVBj+zxxJBWWeBe9MB13xyIKs7z+rvz8N7zqlvw/m3JrdKiem/yh8zvSwyLj9d4csG aaDFyhOCVb10YumJknnj8hJcqUvrB4zxZhK9+je8pi2KRPujwiuS1akF6Ik0RuoFaAb7 HcTQ== X-Gm-Message-State: ACgBeo2O0tDADo0t+75tSH8x+cocKxWhLrb7YqGlqF87QKWKK1YfToEU Thd6io8jCrdHyeQ598l6HdH20EPGb46Cycs6CrGuMnGBVH4ZVw== X-Google-Smtp-Source: AA6agR7N3HXozoL9EyxR6ArdCbgtRJDt6h5AstsArAmD7UFlJVWZI1grH1cbe07cL7Ns0H0AkLLVXqrwdzuGtZeMuWA= X-Received: by 2002:a5b:6c1:0:b0:669:a7c3:4c33 with SMTP id r1-20020a5b06c1000000b00669a7c34c33mr5293612ybq.543.1660870596114; Thu, 18 Aug 2022 17:56:36 -0700 (PDT) List-Id: Porting FreeBSD to MIPS List-Archive: https://lists.freebsd.org/archives/freebsd-mips List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-mips@freebsd.org MIME-Version: 1.0 References: <1424252983.14315.1660869185156.JavaMail.yahoo@mail.yahoo.co.jp> In-Reply-To: <1424252983.14315.1660869185156.JavaMail.yahoo@mail.yahoo.co.jp> From: Archimedes Gaviola Date: Fri, 19 Aug 2022 08:56:26 +0800 Message-ID: Subject: Re: Ralink RT3050F To: Mori Hiroki Cc: "freebsd-mips@freebsd.org" Content-Type: multipart/alternative; boundary="000000000000e63c3905e68d918d" X-Rspamd-Queue-Id: 4M83H86WVvz4791 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=BavnWcXO; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of archimedes.gaviola@gmail.com designates 2607:f8b0:4864:20::1134 as permitted sender) smtp.mailfrom=archimedes.gaviola@gmail.com X-Spamd-Result: default: False [-3.93 / 15.00]; NEURAL_HAM_SHORT(-1.00)[-0.997]; NEURAL_HAM_LONG(-0.97)[-0.973]; NEURAL_HAM_MEDIUM(-0.96)[-0.964]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; FROM_HAS_DN(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-mips@freebsd.org]; MLMMJ_DEST(0.00)[freebsd-mips@freebsd.org]; ARC_NA(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::1134:from]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_SOME(0.00)[]; TAGGED_FROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_TO(0.00)[yahoo.co.jp]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[] X-ThisMailContainsUnwantedMimeParts: N --000000000000e63c3905e68d918d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Aug 19, 2022 at 8:33 AM Mori Hiroki wrote: > Hi. > > 0x80800000 is only u-boot image load offset. You will do bootm command > on u-boot then start at 0x80001100 if you create this address by > uboot_mkimage . > > Hiroki Mori > Hi Hiroki Mori, Oh I see, got it, thanks for the explanation! Best regards, Archimedes > > ----- Original Message ----- > > From: "Archimedes Gaviola" > To: "freebsd-mips@freebsd.org" > Date: 2022/08/18 =E6=9C=A8 21:38 > Subject: Ralink RT3050F > > > Hi, > > I have successfully compiled an RT3050F SoC kernel image with FreeBSD > 11.4-RELEASE by following this reference here > https://wiki.freebsd.org/mips/RT3052F. However, I want to know how this > value 0x80800000 is derived for the tftpboot? My generated image entry > point value address is 80001100. > > root@freebsd114:/usr/obj/mips.mipsel/usr/src/sys/RT305X # readelf -h > kernel | grep 'Entry point address:' > Entry point address: 0x80001100 > > Thanks and best regards, > Archimedes > > --000000000000e63c3905e68d918d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Fri, Aug 19, 2022 at 8:33 AM Mori = Hiroki <yamori813@yahoo.co.jp> wrote:
Hi= .

0x80800000=C2=A0 is only u-boot image load offset. You will do bootm comman= d
on u-boot then start at 0x80001100 if you create this address by uboot_mkim= age .

Hiroki Mori


----- Original Message -----

From: "Archimedes Gaviola" <
archimedes.gaviola@gmail.com>
To: "fre= ebsd-mips@freebsd.org" <freebsd-mips@freebsd.org>
Date: 2022/08/18 =E6=9C=A8 21:38
Subject: Ralink RT3050F


Hi,

I have successfully compiled an RT3050F SoC kernel image with FreeBSD 11.4-= RELEASE by following this reference here https://wiki.freebsd.o= rg/mips/RT3052F. However, I want to know how this value 0x80800000 is d= erived for the tftpboot? My generated image entry point value address is 80= 001100.

root@freebsd114:/usr/obj/mips.mipsel/usr/src/sys/RT305X # readelf -h kernel= | grep 'Entry point address:'
=C2=A0Entry point address:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A00x80001= 100

Thanks and best regards,
Archimedes

--000000000000e63c3905e68d918d--