Closed ebijun closed 5 years ago
Red Hat Enterprise Linux Server release 7.5 (Maipo) gcc version 4.8.5 20150623 (Red Hat 4.8.5-28) (GCC) src: NetBSD8.0
Kernel size: usr/src/sys/arch/evbarm/compile/RPI/netbsd : section size addr .text 4468840 2147516416 .eh_frame 580872 2151985256 link_set_sysctl_funcs 128 2152566128 link_set_evcnts 232 2152566256 link_set_modules 436 2152566488 link_set_ieee80211_funcs 16 2152566924 link_set_domains 36 2152566940 link_set_sdt_argtypes_set 208 2152566976 link_set_sdt_probes_set 116 2152567184 link_set_sdt_providers_set 16 2152567300 link_set_dkwedge_methods 8 2152567316 link_set_prop_linkpools 32 2152567324 .data 1259028 2152595456 .bss 4281200 2153854528 .ident 59980 0 .ARM.attributes 44 0 .comment 33 0 .note.netbsd.ident 24 0 .SUNW_ctf 364680 0 Total 11015929
Kernel ls: -rwxr-xr-x. 1 jun member 7463396 Jul 25 08:49 usr/src/sys/arch/evbarm/compile/RPI/netbsd -rwxr-xr-x. 1 jun member 6338068 Jul 25 08:49 usr/src/sys/arch/evbarm/compile/RPI/netbsd.bin -rwxr-xr-x. 1 jun member 36462068 Jul 25 08:49 usr/src/sys/arch/evbarm/compile/RPI/netbsd.gdb
Built with your script from...
Linux star 4.4.0-130-generic #156-Ubuntu SMP Thu Jun 14 08:53:28 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.4 LTS
Release: 16.04
Codename: xenial
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.10) 5.4.0 20160609
../objdir/evbearmv6hf-el-rpi/sys/arch/evbarm/compile/RPI/netbsd :
section size addr
.text 5269372 2147516416
.eh_frame 641500 2152785788
link_set_evcnts 232 2153427288
link_set_arm_platforms 4 2153427520
link_set_sysctl_funcs 128 2153427524
link_set_fdt_consoles 20 2153427652
link_set_modules 440 2153427672
link_set_ieee80211_funcs 16 2153428112
link_set_domains 40 2153428128
link_set_sdt_argtypes_set 208 2153428168
link_set_sdt_probes_set 116 2153428376
link_set_sdt_providers_set 16 2153428492
link_set_dkwedge_methods 8 2153428508
link_set_prop_linkpools 32 2153428516
.data 29572012 2153447424
.bss 959112 2183019456
.ident 64853 0
.ARM.attributes 44 0
.comment 33 0
.SUNW_ctf 28597943 0
.note.netbsd.ident 24 0
.debug_info 29672316 0
.debug_abbrev 1155194 0
.debug_loc 4902789 0
.debug_aranges 36856 0
.debug_ranges 357712 0
.debug_line 2331533 0
.debug_str 758121 0
Total 104320674
Kernel ls:
total 85476
-rw-r--r-- 1 user family 4563 Jul 24 13:20 bcm2835-rpi-a.dtb.gz
-rw-r--r-- 1 user family 4595 Jul 24 13:20 bcm2835-rpi-a-plus.dtb.gz
-rw-r--r-- 1 user family 4618 Jul 24 13:20 bcm2835-rpi-b.dtb.gz
-rw-r--r-- 1 user family 4693 Jul 24 13:20 bcm2835-rpi-b-plus.dtb.gz
-rw-r--r-- 1 user family 4646 Jul 24 13:20 bcm2835-rpi-b-rev2.dtb.gz
-rw-r--r-- 1 user family 4570 Jul 24 13:20 bcm2835-rpi-zero.dtb.gz
-rw-r--r-- 1 user family 4769 Jul 24 13:20 bcm2835-rpi-zero-w.dtb.gz
-rw-r--r-- 1 user family 4706 Jul 24 13:21 bcm2836-rpi-2-b.dtb.gz
-rw-r--r-- 1 user family 4945 Jul 24 13:21 bcm2837-rpi-3-b.dtb.gz
-rw-r--r-- 1 user family 4958 Jul 24 13:21 bcm2837-rpi-3-b-plus.dtb.gz
-rw-r--r-- 1 user family 1129 Jul 24 13:28 MD5
-rw-r--r-- 1 user family 3177176 Jul 24 13:21 netbsd-RPI2.bin.gz
-rw-r--r-- 1 user family 3522174 Jul 24 13:21 netbsd-RPI2.gz
-rw-r--r-- 1 user family 3177193 Jul 24 13:21 netbsd-RPI2.img.gz
-rw-r--r-- 1 user family 14576391 Jul 24 13:20 netbsd-RPI.bin.gz
-rw-r--r-- 1 user family 45081373 Jul 24 13:20 netbsd-RPI.gz
-rw-r--r-- 1 user family 14576411 Jul 24 13:21 netbsd-RPI.img.gz
-rw-r--r-- 1 user family 1557345 Jul 24 13:21 netbsd-TISDP2420.bin.gz
-rw-r--r-- 1 user family 1756827 Jul 24 13:21 netbsd-TISDP2420.gz
-rw-r--r-- 1 user family 2911 Jul 24 13:28 SHA512
Sets ls:
total 403336
-rw-r--r-- 1 user family 94566562 Jul 24 13:26 base.tgz
-rw-r--r-- 1 user family 191897657 Jul 24 13:28 comp.tgz
-rw-r--r-- 1 user family 636817 Jul 24 13:28 etc.tgz
-rw-r--r-- 1 user family 3423312 Jul 24 13:28 games.tgz
-rw-r--r-- 1 user family 9883727 Jul 24 13:20 kern-RPI2.tgz
-rw-r--r-- 1 user family 74244081 Jul 24 13:20 kern-RPI.tgz
-rw-r--r-- 1 user family 3315058 Jul 24 13:20 kern-TISDP2420.tgz
-rw-r--r-- 1 user family 11757497 Jul 24 13:28 man.tgz
-rw-r--r-- 1 user family 622 Jul 24 13:28 MD5
-rw-r--r-- 1 user family 5354445 Jul 24 13:28 misc.tgz
-rw-r--r-- 1 user family 5454393 Jul 24 13:28 modules.tgz
-rw-r--r-- 1 user family 1810 Jul 24 13:28 SHA512
-rw-r--r-- 1 user family 9413361 Jul 24 13:28 tests.tgz
-rw-r--r-- 1 user family 3034946 Jul 24 13:28 text.tgz
Linux star 4.4.0-130-generic #156-Ubuntu SMP Thu Jun 14 08:53:28 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
I've heard Ubuntu 16.04 has some issue on RPI kernel building.
Running my own script:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial
gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.10)
Kernel size:
../objdir/evbearmv6hf-el-rpi/sys/arch/evbarm/compile/RPI/netbsd :
section size addr
.text 5275152 2147516416
.eh_frame 641500 2152791568
link_set_evcnts 232 2153433068
link_set_arm_platforms 4 2153433300
link_set_sysctl_funcs 128 2153433304
link_set_fdt_consoles 20 2153433432
link_set_modules 440 2153433452
link_set_ieee80211_funcs 16 2153433892
link_set_domains 40 2153433908
link_set_sdt_argtypes_set 208 2153433948
link_set_sdt_probes_set 116 2153434156
link_set_sdt_providers_set 16 2153434272
link_set_dkwedge_methods 8 2153434288
link_set_prop_linkpools 32 2153434296
.data 29572012 2153447424
.bss 959112 2183019456
.ident 64853 0
.ARM.attributes 44 0
.comment 33 0
.SUNW_ctf 28597943 0
.note.netbsd.ident 24 0
.debug_info 29672316 0
.debug_abbrev 1155194 0
.debug_loc 4902789 0
.debug_aranges 36856 0
.debug_ranges 357712 0
.debug_line 2393053 0
.debug_str 769681 0
Total 104399534
Kernel ls:
total 85472
-rw-rw-r-- 1 william william 4563 Jul 24 05:32 bcm2835-rpi-a.dtb.gz
-rw-rw-r-- 1 william william 4595 Jul 24 05:32 bcm2835-rpi-a-plus.dtb.gz
-rw-rw-r-- 1 william william 4618 Jul 24 05:32 bcm2835-rpi-b.dtb.gz
-rw-rw-r-- 1 william william 4693 Jul 24 05:32 bcm2835-rpi-b-plus.dtb.gz
-rw-rw-r-- 1 william william 4646 Jul 24 05:32 bcm2835-rpi-b-rev2.dtb.gz
-rw-rw-r-- 1 william william 4570 Jul 24 05:32 bcm2835-rpi-zero.dtb.gz
-rw-rw-r-- 1 william william 4769 Jul 24 05:32 bcm2835-rpi-zero-w.dtb.gz
-rw-rw-r-- 1 william william 4706 Jul 24 05:32 bcm2836-rpi-2-b.dtb.gz
-rw-rw-r-- 1 william william 4945 Jul 24 05:32 bcm2837-rpi-3-b.dtb.gz
-rw-rw-r-- 1 william william 4958 Jul 24 05:32 bcm2837-rpi-3-b-plus.dtb.gz
-rw-rw-r-- 1 william william 1129 Jul 24 09:04 MD5
-rw-rw-r-- 1 william william 3178393 Jul 24 08:57 netbsd-RPI2.bin.gz
-rw-rw-r-- 1 william william 3522240 Jul 24 08:57 netbsd-RPI2.gz
-rw-rw-r-- 1 william william 3178414 Jul 24 08:57 netbsd-RPI2.img.gz
-rw-rw-r-- 1 william william 14576369 Jul 24 08:57 netbsd-RPI.bin.gz
-rw-rw-r-- 1 william william 45076857 Jul 24 08:57 netbsd-RPI.gz
-rw-rw-r-- 1 william william 14576388 Jul 24 08:57 netbsd-RPI.img.gz
-rw-rw-r-- 1 william william 1557363 Jul 24 08:57 netbsd-TISDP2420.bin.gz
-rw-rw-r-- 1 william william 1756618 Jul 24 08:57 netbsd-TISDP2420.gz
-rw-rw-r-- 1 william william 2911 Jul 24 09:04 SHA512
\nSets ls:
total 403372
-rw-rw-r-- 1 william william 94569163 Jul 24 09:02 base.tgz
-rw-rw-r-- 1 william william 191920488 Jul 24 09:03 comp.tgz
-rw-rw-r-- 1 william william 636803 Jul 24 09:03 etc.tgz
-rw-rw-r-- 1 william william 3423284 Jul 24 09:03 games.tgz
-rw-rw-r-- 1 william william 9886824 Jul 24 08:57 kern-RPI2.tgz
-rw-rw-r-- 1 william william 74244303 Jul 24 08:57 kern-RPI.tgz
-rw-rw-r-- 1 william william 3314332 Jul 24 08:57 kern-TISDP2420.tgz
-rw-rw-r-- 1 william william 11757131 Jul 24 09:03 man.tgz
-rw-rw-r-- 1 william william 622 Jul 24 09:04 MD5
-rw-rw-r-- 1 william william 5354443 Jul 24 09:03 misc.tgz
-rw-rw-r-- 1 william william 5454159 Jul 24 09:03 modules.tgz
-rw-rw-r-- 1 william william 1810 Jul 24 09:04 SHA512
-rw-rw-r-- 1 william william 9413725 Jul 24 09:03 tests.tgz
-rw-rw-r-- 1 william william 3035525 Jul 24 09:03 text.tgz
Linux xubuntu-dtrain 4.15.0-24-generic #26~16.04.1-Ubuntu SMP Fri Jun 15 14:35:08 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Source (missing last uname
command b/c local copy of my script.)
Ubuntu 18.04 LTS gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)
Kernel size: usr/src/sys/arch/evbarm/compile/RPI/netbsd : section size addr .text 4468920 2147516416 .eh_frame 580872 2151985336 link_set_sysctl_funcs 128 2152566208 link_set_evcnts 232 2152566336 link_set_modules 436 2152566568 link_set_ieee80211_funcs 16 2152567004 link_set_domains 36 2152567020 link_set_sdt_argtypes_set 208 2152567056 link_set_sdt_probes_set 116 2152567264 link_set_sdt_providers_set 16 2152567380 link_set_dkwedge_methods 8 2152567396 link_set_prop_linkpools 32 2152567404 .data 1259028 2152595456 .bss 4281200 2153854528 .ident 59980 0 .ARM.attributes 44 0 .comment 33 0 .note.netbsd.ident 24 0 .SUNW_ctf 364680 0 Total 11016009
Kernel ls: -rwxrwxr-x 1 jun jun 7463396 7月 25 15:15 usr/src/sys/arch/evbarm/compile/RPI/netbsd -rwxrwxr-x 1 jun jun 6338068 7月 25 15:15 usr/src/sys/arch/evbarm/compile/RPI/netbsd.bin -rwxr-xr-x 1 jun jun 36490776 7月 25 15:15 usr/src/sys/arch/evbarm/compile/RPI/netbsd.gdb Linux amiins14 4.15.0-29-generic #31-Ubuntu SMP Tue Jul 17 15:39:52 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
I also tried the "NetBSD-8.0-RELEASE" CVS revision a few days ago on Ubuntu 16.04; this also has bloated kernel sizes, but not quite as bad. If I have time to run the script today, I'll update this comment w/ results.
./build.sh -u -m evbarm -a earmv6hf
I can still duplicate the issue...
===> Summary of results:
build.sh command: ./build.sh -u -j 1 -m evbarm -a earmv6hf -U -O ../objdir/evbearmv6hf-el-rpi -T ../tools/std -D ../destdir/evbearmv6hf-el-rpi -R ../releasedir/evbearmv6hf-el-rpi tools kernel=RPI release
build.sh started: Wed Jul 25 10:30:11 EDT 2018
NetBSD version: 8.99.22
MACHINE: evbarm
MACHINE_ARCH: earmv6hf
Build platform: Linux 4.15.0-24-generic x86_64
HOST_SH: /bin/sh
MAKECONF file: /etc/mk.conf (File not found)
TOOLDIR path: /home/william/Projects/net-dbg/Net-dbg-2018-07-24-04-32-01/src/../tools/std
DESTDIR path: /home/william/Projects/net-dbg/Net-dbg-2018-07-24-04-32-01/src/../destdir/evbearmv6hf-el-rpi
RELEASEDIR path: /home/william/Projects/net-dbg/Net-dbg-2018-07-24-04-32-01/src/../releasedir/evbearmv6hf-el-rpi
Updated makewrapper: /home/william/Projects/net-dbg/Net-dbg-2018-07-24-04-32-01/src/../tools/std/bin/nbmake-evbarm
Tools built to /home/william/Projects/net-dbg/Net-dbg-2018-07-24-04-32-01/src/../tools/std
Building kernel: RPI
Build directory: /home/william/Projects/net-dbg/Net-dbg-2018-07-24-04-32-01/src/../objdir/evbearmv6hf-el-rpi/sys/arch/evbarm/compile/RPI
Kernels built from RPI:
/home/william/Projects/net-dbg/Net-dbg-2018-07-24-04-32-01/src/../objdir/evbearmv6hf-el-rpi/sys/arch/evbarm/compile/RPI/netbsd
Successful make release
build.sh ended: Wed Jul 25 12:42:02 EDT 2018
===> .
@tsutsui was able to duplicate the miscompile/ridiculous kernel size on Ubuntu 18.04: https://gist.github.com/tsutsui/d372899cfd53b974945fa9d0985c8b5e
@ebijun I tested your command. The following command gets me a correct build: ./build.sh -j 8 -u -U -m evbarm -a earmv6hf tools release
william@xubuntu-dtrain:~/Projects/net-dbg/Net-dbg-2018-07-24-04-32-01/src$ size -A sys/arch/evbarm/compile/obj/RPI/netbsd
sys/arch/evbarm/compile/obj/RPI/netbsd :
section size addr
.text 5275120 2147516416
.eh_frame 641500 2152791536
link_set_evcnts 232 2153433036
link_set_arm_platforms 4 2153433268
link_set_sysctl_funcs 128 2153433272
link_set_fdt_consoles 20 2153433400
link_set_modules 440 2153433420
link_set_ieee80211_funcs 16 2153433860
link_set_domains 40 2153433876
link_set_sdt_argtypes_set 208 2153433916
link_set_sdt_probes_set 116 2153434124
link_set_sdt_providers_set 16 2153434240
link_set_dkwedge_methods 8 2153434256
link_set_prop_linkpools 32 2153434264
.data 1133804 2153447424
.bss 959112 2154581248
.ident 64853 0
.ARM.attributes 44 0
.comment 33 0
.SUNW_ctf 164891 0
.note.netbsd.ident 24 0
.debug_info 28774 0
.debug_abbrev 625 0
.debug_loc 66 0
.debug_aranges 32 0
.debug_line 1340 0
.debug_str 19162 0
Total 8290640
william@xubuntu-dtrain:~/Projects/net-dbg/Net-dbg-2018-07-24-04-32-01/src$ ls -l obj/releasedir/evbarm/binary/kernel/
total 22780
-rw-rw-r-- 1 william william 4563 Jul 26 12:36 bcm2835-rpi-a.dtb.gz
-rw-rw-r-- 1 william william 4595 Jul 26 12:36 bcm2835-rpi-a-plus.dtb.gz
-rw-rw-r-- 1 william william 4618 Jul 26 12:36 bcm2835-rpi-b.dtb.gz
-rw-rw-r-- 1 william william 4693 Jul 26 12:36 bcm2835-rpi-b-plus.dtb.gz
-rw-rw-r-- 1 william william 4646 Jul 26 12:36 bcm2835-rpi-b-rev2.dtb.gz
-rw-rw-r-- 1 william william 4570 Jul 26 12:36 bcm2835-rpi-zero.dtb.gz
-rw-rw-r-- 1 william william 4769 Jul 26 12:36 bcm2835-rpi-zero-w.dtb.gz
-rw-rw-r-- 1 william william 4706 Jul 26 12:36 bcm2836-rpi-2-b.dtb.gz
-rw-rw-r-- 1 william william 4945 Jul 26 12:36 bcm2837-rpi-3-b.dtb.gz
-rw-rw-r-- 1 william william 4958 Jul 26 12:36 bcm2837-rpi-3-b-plus.dtb.gz
-rw-rw-r-- 1 william william 1129 Jul 26 12:41 MD5
-rw-rw-r-- 1 william william 3178284 Jul 26 12:36 netbsd-RPI2.bin.gz
-rw-rw-r-- 1 william william 3522125 Jul 26 12:36 netbsd-RPI2.gz
-rw-rw-r-- 1 william william 3178307 Jul 26 12:36 netbsd-RPI2.img.gz
-rw-rw-r-- 1 william william 3229891 Jul 26 12:36 netbsd-RPI.bin.gz
-rw-rw-r-- 1 william william 3572957 Jul 26 12:36 netbsd-RPI.gz
-rw-rw-r-- 1 william william 3229911 Jul 26 12:36 netbsd-RPI.img.gz
-rw-rw-r-- 1 william william 1557380 Jul 26 12:36 netbsd-TISDP2420.bin.gz
-rw-rw-r-- 1 william william 1756623 Jul 26 12:36 netbsd-TISDP2420.gz
-rw-rw-r-- 1 william william 2911 Jul 26 12:41 SHA512
william@xubuntu-dtrain:~/Projects/net-dbg/Net-dbg-2018-07-24-04-32-01/src$ ls -l obj/releasedir/evbarm/binary/sets/
total 340648
-rw-rw-r-- 1 william william 94567787 Jul 26 12:40 base.tgz
-rw-rw-r-- 1 william william 191899348 Jul 26 12:41 comp.tgz
-rw-rw-r-- 1 william william 636799 Jul 26 12:39 etc.tgz
-rw-rw-r-- 1 william william 3423227 Jul 26 12:39 games.tgz
-rw-rw-r-- 1 william william 9886974 Jul 26 12:36 kern-RPI2.tgz
-rw-rw-r-- 1 william william 10047831 Jul 26 12:36 kern-RPI.tgz
-rw-rw-r-- 1 william william 3315139 Jul 26 12:36 kern-TISDP2420.tgz
-rw-rw-r-- 1 william william 11757286 Jul 26 12:39 man.tgz
-rw-rw-r-- 1 william william 622 Jul 26 12:41 MD5
-rw-rw-r-- 1 william william 5354480 Jul 26 12:39 misc.tgz
-rw-rw-r-- 1 william william 5454759 Jul 26 12:39 modules.tgz
-rw-rw-r-- 1 william william 1810 Jul 26 12:41 SHA512
-rw-rw-r-- 1 william william 9412306 Jul 26 12:39 tests.tgz
-rw-rw-r-- 1 william william 3035460 Jul 26 12:39 text.tgz
So the two differences here are:
kernel=RPI
objdir
, destdir
, etc)Having object files pollute my tree isn't exactly ideal for version-control purposes, so I'd rather not have to get rid of that. But I still have to try kern=RPI
and see what happens.
Thanx for the comment. I start debug-pi.sh with
./build.sh -u -j ${NUM_JOBS:-1} -m evbarm -a earmv6hf -U -O ../objdir/evbearmv6hf-el-rpi -T ../tools/std -D ../destdir/evbearmv6hf-el-rpi -R ../releasedir/evbearmv6hf-el-rpi tools kernel=RPI release
-rw-rw-r-- 1 william william 3229891 Jul 26 12:36 netbsd-RPI.bin.gz
-rw-rw-r-- 1 william william 3572957 Jul 26 12:36 netbsd-RPI.gz
-rw-rw-r-- 1 william william 3229911 Jul 26 12:36 netbsd-RPI.img.gz
To clarify, neither of netbsd-RPI.bin.gz
nor netbsd-RPI.img.gz
boot when I do gunzip -c $(IMAGE_FILE) > /boot/kernel.img
, and then try to boot the SD card. There is no activity on the serial port at all. So I think there is still a miscompile.
The daily images from cdn.netbsd.org work fine, but I really need to be able to compile my own kernels.
https://github.com/ebijun/NetBSD/blob/582d55f1f21e70a0b2fa0b86be7f2ded5857dbc4/dmesg/earmv6hf/RPI0 https://github.com/ebijun/NetBSD/blob/582d55f1f21e70a0b2fa0b86be7f2ded5857dbc4/dmesg/earmv6hf/RPI3 https://github.com/ebijun/NetBSD/blob/582d55f1f21e70a0b2fa0b86be7f2ded5857dbc4/dmesg/earmv6hf/RPI3B%2B
@ebijun This issue can be closed I think. I can't duplicate the bloat anymore:
===> Summary of results:
build.sh command: ./build.sh -u -j 1 -m evbarm -a earmv6hf -U -O ../objdir/evbearmv6hf-el-rpi -T ../tools/std -D ../destdir/evbearmv6hf-el-rpi -R ..
/releasedir/evbearmv6hf-el-rpi tools kernel=RPI release
build.sh started: Thu Oct 24 22:18:14 EDT 2019
NetBSD version: 9.99.17
MACHINE: evbarm
MACHINE_ARCH: earmv6hf
Build platform: Linux 4.15.0-50-generic x86_64
HOST_SH: /bin/sh
No $TOOLDIR/bin/nbmake, needs building.
Bootstrapping nbmake
MAKECONF file: /etc/mk.conf (File not found)
TOOLDIR path: /home/william/Projects/net-dbg/Net-dbg-2019-10-24-21-50-07/src/../tools/std
DESTDIR path: /home/william/Projects/net-dbg/Net-dbg-2019-10-24-21-50-07/src/../destdir/evbearmv6hf-el-rpi
RELEASEDIR path: /home/william/Projects/net-dbg/Net-dbg-2019-10-24-21-50-07/src/../releasedir/evbearmv6hf-el-rpi
Created /home/william/Projects/net-dbg/Net-dbg-2019-10-24-21-50-07/src/../tools/std/bin/nbmake
Updated makewrapper: /home/william/Projects/net-dbg/Net-dbg-2019-10-24-21-50-07/src/../tools/std/bin/nbmake-evbarm
Tools built to /home/william/Projects/net-dbg/Net-dbg-2019-10-24-21-50-07/src/../tools/std
Building kernel: RPI
Build directory: /home/william/Projects/net-dbg/Net-dbg-2019-10-24-21-50-07/src/../objdir/evbearmv6hf-el-rpi/sys/arch/evbarm/compile/RPI
Kernels built from RPI:
/home/william/Projects/net-dbg/Net-dbg-2019-10-24-21-50-07/src/../objdir/evbearmv6hf-el-rpi/sys/arch/evbarm/compile/RPI/netbsd
Successful make release
build.sh ended: Fri Oct 25 00:59:23 EDT 2019
===> .
These kernel sizes seem reasonable/correct.
-rw-rw-r-- 1 william william 3723039 Oct 25 00:52 netbsd-RPI.bin.gz
-rw-rw-r-- 1 william william 4407064 Oct 25 00:52 netbsd-RPI.gz
-rw-rw-r-- 1 william william 3723064 Oct 25 00:52 netbsd-RPI.img.gz
Thanx for clarify.close.
To be clear, you've never seen any builds where the set kern-RPI.tgz and the gzipped ELF kernel netbsd-RPI.gz are ridiculous sizes (20+ MB or more)? https://gist.github.com/cr1901/92371ed8a5509a54540503372cdc26a8
./build.sh -u -j ${NUM_JOBS:-1} -m evbearmv6hf-el -U -O ../objdir/evbearmv6hf-el-rpi -T ../tools/std -D ../destdir/evbearmv6hf-el-rpi -R ../releasedir/evbearmv6hf-el-rpi tools kernel=RPI release
echo "Kernel size:" >> $TMP size -A ../objdir/evbearmv6hf-el-rpi/sys/arch/evbarm/compile/RPI/netbsd >> $TMP echo "Kernel ls:" >> $TMP ls -l ../releasedir/evbearmv6hf-el-rpi/evbarm/binary/kernel/ >> $TMP echo "\nSets ls:" >> $TMP ls -l ../releasedir/evbearmv6hf-el-rpi/evbarm/binary/sets/ >> $TMP uname -a >> $TMP