LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - ARM (https://www.linuxquestions.org/questions/slackware-arm-108/)
-   -   (slackwarearm-current) New Version of U-boot and ext4 issues (https://www.linuxquestions.org/questions/slackware-arm-108/slackwarearm-current-new-version-of-u-boot-and-ext4-issues-4175618234/)

ricky_cardo 11-23-2017 11:03 AM

(slackwarearm-current) New Version of U-boot and ext4 issues
 
Decided to update my bananaPiPro today from 14.2 to current HF version.
I encountered issues with u-boot recognizing the ext4 partition.

below is the messages encountered:


Code:

=>
  U-Boot SPL 2017.09+dfsg1-3 (Oct 09 2017 - 22:14:03)
DRAM: 1024 MiB
CPU: 912000000Hz, AXI/AHB/APB: 3/2/2
Trying to boot from MMC1
 
 
U-Boot 2017.09+dfsg1-3 (Oct 09 2017 - 22:14:03 +0000) Allwinner Technology
 
CPU:  Allwinner A20 (SUN7I)
Model: LeMaker Banana Pro
I2C:  ready
DRAM:  1 GiB
MMC:  SUNXI SD/MMC: 0
** First descriptor is NOT a primary desc on 0:1 **
Setting up a 720x576i composite-pal console (overscan 32x20)
In:    serial
Out:  vga
Err:  vga
SCSI:  Target spinup took 0 ms.
AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: ncq stag pm led clo only pmp pio slum part ccc apst
Net:  eth0: ethernet@01c50000
starting USB...
USB0:  USB EHCI 1.00
USB1:  USB OHCI 1.0
USB2:  USB EHCI 1.00
USB3:  USB OHCI 1.0
scanning bus 0 for devices... 1 USB Device(s) found
scanning bus 2 for devices... 2 USB Device(s) found
      scanning usb for storage devices... 1 Storage Device(s) found
Hit any key to stop autoboot:  0
 
Reset SCSI
scanning bus for devices...
  Device 0: (0:0) Vendor: ATA Prod.: WDC WD2003FYPS-2 Rev: 04.0
            Type: Hard Disk
            Capacity: 1907729.0 MB = 1863.0 GB (3907029168 x 512)
Found 1 device(s).
scanning bus for devices...
  Device 0: (0:0) Vendor: ATA Prod.: WDC WD2003FYPS-2 Rev: 04.0
            Type: Hard Disk
            Capacity: 1907729.0 MB = 1863.0 GB (3907029168 x 512)
Found 1 device(s).
ext4fs_devread read outside partition 18446744073252438272
** File not found /boot/dtb/sun7i-a20-bananapro.dtb **
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
ext4fs_devread read outside partition 18446744073252438272
** File not found /boot/zImage-armv7 **
ext4fs_devread read outside partition 18446744073252438272
** File not found /boot/initrd-armv7 **
resetting ...

I googled around and found maybe changing some options to no avail..
https://ext4.wiki.kernel.org/index.p...data_Checksums

Might need to roll back uboot... Anyone have suggestions? I'll try some things and report back too.

drmozes 11-23-2017 01:16 PM

Quote:

Originally Posted by ricky_cardo (Post 5784322)
D
U-Boot SPL 2017.09+dfsg1-3 (Oct 09 2017 - 22:14:03)

This is the version I'm using on my Banana Pi (not a pro) and it works fine reading from the ext4 partition.

The old u-boot is archived here, so perhaps try that one again.
ftp://ftp.arm.slackware.com/slackwar...16.11+dfsg1-3/

ricky_cardo 11-23-2017 10:42 PM

Works 100% with the older u-boot
--I will note the only difference this time is I zeroed out my sd card first, before I zcat the image.
dd if=/dev/zero of=/dev/mmcblk0

--I'll test the more current version of u-boot again to double check after zeroing the sd again. (Maybe in after sleep.)

(thanks so much for steering me to the uboot archive)

ricky_cardo 11-24-2017 10:16 AM

results from last test scenario in: Still fails with the same error message when using BananaPiPro.sdcard_latest.img.xz
**works like a champ with older archive image is the excellent news.

drmozes 11-24-2017 11:07 AM

Quote:

Originally Posted by ricky_cardo (Post 5784642)
results from last test scenario in: Still fails with the same error message when using BananaPiPro.sdcard_latest.img.xz
**works like a champ with older archive image is the excellent news.

Good to know. I'll update them again at some point closer to 15.0's release.

ricky_cardo 11-24-2017 04:20 PM

10 - 4 Now that I got the process down for changing out the uboot image, I can test and let ya know.

drmozes 11-26-2017 10:50 AM

Quote:

Originally Posted by ricky_cardo (Post 5784795)
10 - 4 Now that I got the process down for changing out the uboot image, I can test and let ya know.

I reverted to the 2016 version of u-boot, as I found that the 2017 version didn't work so well on one of my Banana Pi's. I couldn't get USB keyboard working. I doubt that a newer version of U-Boot is required at this point anyway, so I'll probably leave it as-is until something breaks.


All times are GMT -5. The time now is 07:01 AM.