From nobody Mon Apr 08 20:49:03 2024 X-Original-To: freebsd-hackers@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 4VD1Rr2QjDz5FmGL; Mon, 8 Apr 2024 20:49:44 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-pg1-x529.google.com (mail-pg1-x529.google.com [IPv6:2607:f8b0:4864:20::529]) (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 4VD1Rq0b2pz4DMy; Mon, 8 Apr 2024 20:49:43 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=iI8VKm5F; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of marietto2008@gmail.com designates 2607:f8b0:4864:20::529 as permitted sender) smtp.mailfrom=marietto2008@gmail.com Received: by mail-pg1-x529.google.com with SMTP id 41be03b00d2f7-5e4f79007ffso3334503a12.2; Mon, 08 Apr 2024 13:49:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712609380; x=1713214180; darn=freebsd.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=N817xL8L7824fxQfequheM+xKXT1IqIyZ1lWhSVTADk=; b=iI8VKm5FKH3PzvmUMZJcA9XB+VNWzlqRxE4qyUds4dA12YRnS2RAu7HG22xFfEZ2BO 2RD0RdQeYd4wlF4p8HtKvs15XrScMQtpzojbKj9ENv3X1ZDst8SE3WfzxJG8ZTS/n8Uk dfOZeyz5LTx8ceZqAUkShUOKlDHYL7O8xqTUH/qu6yNPKRphg61dZx/ebx1DiEmYc6fN hty1moG9YrEn+1KQpk/hGAbDoyrY4Yf02FexBuzCnL4v5Ax8I82BCSMGUhWHLgNsYCVc Cx2E6U2987kpmri5Um40ZR//TH76RPrtNyI1H5vY6VpIqQ+MnwAheOSSStFhqJUVGL9h bbaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712609380; x=1713214180; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=N817xL8L7824fxQfequheM+xKXT1IqIyZ1lWhSVTADk=; b=QwhZrArNJvfVSSJz1oCK5KBthAyF5wcZGnhY1R2ifDwK7V1NzcQD4jgemLFE6Xa3RH PgrH02t/3n71f8GpvD4lHBoMv4ynOwL61E6rSlE4RJE8UzVuKtG57pE7LI83Nk+lLA2p Uko6xDfQnXe7nMSapQapzFZiLzReViti5Kj5CtsjN1AXrNcPPQOCWfJX5y2mJxb0XpmK vjNhWAxrcdkiiE8QqCaxpo984InNY62Vl7ja6JvG2uYnW6ADd8+i92EhEW2o5NeR+dwN AVgSWaTPFEjW5InhwmyAfWkEj+GnIJMvGcLCw8hE4FUWk7cMU87OoSQGSxp+69LM7f3r 4NTg== X-Forwarded-Encrypted: i=1; AJvYcCWIdhzjnjJWDBlrfmyfkAFMogax/aZnxs+utO7BDfPir5ADDLG6szjOFCxO5ZtdlGWVccis1glClHV/6HpKRObvS104JPiw3fRbvdKcnQ== X-Gm-Message-State: AOJu0YxJMi+Gtg8EZ4oSyICo4ykixybvAsAcONMx4pXHaFSS0AHSPQM/ 4C0TyUPDdKz/0x5mXD5dCIrIygxy8a1fC2uY1DffkDElEFJaGeuH9NyX+NLczjM8yuNkTV6j9Ek fTJUhMRtweIgMxtXrZidIuiltsojFqDB1MRFc/F8I X-Google-Smtp-Source: AGHT+IFjudKGT9XI4iw49Xj7k5tlR/gmb1ayPxAL1sZppPsZXkhiEUPQntUChowUzICBmWE+ic42a1horAOlHN74BmY= X-Received: by 2002:a17:90b:33d2:b0:2a5:2870:6d with SMTP id lk18-20020a17090b33d200b002a52870006dmr3080029pjb.48.1712609380477; Mon, 08 Apr 2024 13:49:40 -0700 (PDT) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 From: Mario Marietto Date: Mon, 8 Apr 2024 22:49:03 +0200 Message-ID: Subject: Implementing a kexec()-style system call for FreeBSD 14 to boot a Linux kernel directly from FreeBSD. To: freebsd-hackers , FreeBSD Mailing List Content-Type: multipart/alternative; boundary="000000000000c3335206159bf1a0" X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.99 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.992]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_ONE(0.00)[1]; MISSING_XM_UA(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::529:from]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; RCVD_TLS_LAST(0.00)[]; TO_DN_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org,freebsd-questions@freebsd.org]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+] X-Rspamd-Queue-Id: 4VD1Rq0b2pz4DMy --000000000000c3335206159bf1a0 Content-Type: text/plain; charset="UTF-8" Hello. surfing the net I found this : https://github.com/fail0verflow/ps4-kexec It was built for Orbis (based on FreeBSD 9) ; a very old FreeBSD version. But I'm intrigued by the idea to update the code and make it work for a recent version of FreeBSD. It would be cool to "boot a Linux kernel directly from FreeBSD"...Any consideration ? -- Mario. --000000000000c3335206159bf1a0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello.

surfing the net I fou= nd this :


<= /div>
It was built for Orbis (based on FreeBSD 9) ; a very old FreeBSD = version. But I'm intrigued by the idea to update the code and make it w= ork for a recent version of FreeBSD. It would be cool to "boot a Linux= kernel directly from FreeBSD"...Any consideration ?
--
Mario.
--000000000000c3335206159bf1a0--